I am still struggling with this. I am wanting to place the intro html within the bodycopy area of the 'inside the loop' area. Anywhere I place the php for the category, I get an error for an "unexpected ?". I am not very proficient with php (yet
). Here is the code:
Code:
<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Top'); ?>
<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>
<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>
<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>
<?php if (in_category('16')) { ?>
<div class="postintro"><center><img class="aligncenter" title="BFL" src="http://couponinguniversity.com/wp-content/uploads/2011/10/BFL-logo-300x142.jpg" alt="" width="300" height="142" />
<p><a href="http://couponinguniversity.com/wp-content/uploads/2011/06/Untitled-11.png"><img title="Untitled-1" src="http://couponinguniversity.com/wp-content/uploads/2011/06/Untitled-11.png" alt="" width="16" height="16" /></a>This icon indicates stock up prices.</center></div>
<?php }; ?>
<?php if (in_category('17')) { ?>
<div class="postintro"><img class="aligncenter size-full wp-image-1058" title="ALDI" src="http://couponinguniversity.com/wp-content/uploads/2011/08/ALDI.png" alt="" width="118" height="142" />
<p>Aldi has a new app for <a title="Aldi iphone app" href="http://itunes.apple.com/us/app/aldi-usa/id429396645?mt=8" target="_blank">iPhone</a> and <a title="Aldi Anroid App" href="https://market.android.com/details?id=de.apptiv.business.android.aldi_us&feature=search_result#?t=W251bGwsMSwxLDEsImRlLmFwcHRpdi5idXNpbmVzcy5hbmRyb2lkLmFsZGlfdXMiXQ.." target="_blank">Android</a> smartphones. This app allows you to see weekly special buys, find new low prices, view the weekly ads, create a shopping list and find a store near you. *<i>*To view the ad on an iPhone, you will need to select view in html since the Flash player will not work.</i>
</br></br>Don't forget that you can price match produce specials at Walmart. While Walmart's coupon policy does not require you to have the ad to price match, using their smartphone app, you can easily pull up the ad in case they ask for it. Alternatively, you can print the <a title="Aldi Ad Online" href="http://aldi.us/us/html/offers/weekly_ads_ENU_HTML.php?WT.z_src=main" target="_blank">ad online</a>.</p></div>
<?php }; ?>
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
<?php if ( is_page() ) { ?>
<?php if(function_exists('selfserv_shareaholic')) { selfserv_shareaholic(); } ?>
<?php } ?>
<?php if ( is_single() ) { ?>
<?php if(function_exists('selfserv_shareaholic')) { selfserv_shareaholic(); } ?>
<?php } ?>
<?php if (function_exists('nrelate_related')) nrelate_related(); ?>
</div><!-- / Post -->
I believe if I can get the
Code:
<?php if (in_category('17')) { ?>
<div class="postintro"><img class="aligncenter size-full wp-image-1058" title="ALDI" src="http://couponinguniversity.com/wp-content/uploads/2011/08/ALDI.png" alt="" width="118" height="142" />
<p>Aldi has a new app for <a title="Aldi iphone app" href="http://itunes.apple.com/us/app/aldi-usa/id429396645?mt=8" target="_blank">iPhone</a> and <a title="Aldi Anroid App" href="https://market.android.com/details?id=de.apptiv.business.android.aldi_us&feature=search_result#?t=W251bGwsMSwxLDEsImRlLmFwcHRpdi5idXNpbmVzcy5hbmRyb2lkLmFsZGlfdXMiXQ.." target="_blank">Android</a> smartphones. This app allows you to see weekly special buys, find new low prices, view the weekly ads, create a shopping list and find a store near you. *<i>*To view the ad on an iPhone, you will need to select view in html since the Flash player will not work.</i>
</br></br>Don't forget that you can price match produce specials at Walmart. While Walmart's coupon policy does not require you to have the ad to price match, using their smartphone app, you can easily pull up the ad in case they ask for it. Alternatively, you can print the <a title="Aldi Ad Online" href="http://aldi.us/us/html/offers/weekly_ads_ENU_HTML.php?WT.z_src=main" target="_blank">ad online</a>.</p></div>
<?php }; ?>
within the post-body php section, it will work.