Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Problem with custom post template and Feedblitz/RSS readers


  #1  
Old Feb 15, 2012, 04:42 PM
OUMomof3
 
12 posts · Jun 2011
I have added some php to my ATO/Center Column insert area to include elements that I want to appear on every post as well as posts in certain categories. Unfortunately, the feedblitz email and rss readers do not show any of this information. I followed the instructions here:

http://forum.bytesforall.com/showthr...ight=revisited

Many of the posts I would like to do will have a few paragraphs at the top that are the same week after week. Can anyone recommend another way to use a template and still have the information parsed into feedblitz and an rss reader?

My site: www.CouponingUniversity.com
Version 3.6.4 (so I could put widgets in places the newer versions do not allow)
All bug fixes applied.

TIA
  #2  
Old Feb 16, 2012, 05:56 AM
OUMomof3
 
12 posts · Jun 2011
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&amp;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&amp;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.
  #3  
Old Feb 19, 2012, 11:35 AM
OUMomof3
 
12 posts · Jun 2011
Just in case someone else is looking for an answer, I ended up using the Boilerplate plugin to do what I needed.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with custom post widget 86owen Sidebars & Widgets 1 May 2, 2011 10:31 AM
Have problem with custom query template with wp-super-cache codefinder Plugins & Atahualpa 1 Jul 29, 2010 05:41 AM
Problem with adding a pic to custom post template in center area frankhamm Center area post/pages 2 Mar 15, 2010 06:38 AM
How do I allow readers to search and go to specific comments? rewardshelp Comments, trackbacks & pings 3 Jun 29, 2009 08:31 PM
Creating custom post template paulae Atahualpa 3 Wordpress theme 3 Mar 18, 2009 10:36 AM


All times are GMT -6. The time now is 12:04 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.