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] Trying to add ads in category pages


 
Prev Previous Post   Next Post Next
  #1  
Old Jan 25, 2013, 10:15 AM
mkellam
 
60 posts · Jan 2011
[SOLVED] Trying to add ads in category pages

Hi,
In the past, I asked how to place ads after the 3rd and 6th post on category pages. The following code has worked great but when I updated to 3.7.10, I noticed the ads are gone. It turns out they've been gone since i upgraded from 3.7.3. I think this means one of the variables has cvhanged in the newer versions. Can you please tell me what changes I need to make th this code to make it work on the current version? Thanks! Michael


<?php if ( is_category() AND (($bfa_ata['postcount'] == 3 ) OR ($bfa_ata['postcount'] == 6 )) ) { ?>

[Ad Code Goes Here]

<?php } ?>
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Styling the category pages guaccio2209 Atahualpa 3 Wordpress theme 6 Oct 30, 2011 07:51 AM
How to Set Meta Title for Category Pages New WordPress Fan Forum How-To 1 Oct 27, 2011 06:10 PM
[SOLVED] How to: display category name on category pages wittyusername Center area post/pages 3 Feb 25, 2011 06:25 AM
Images in my category and archive pages? middlemountain Atahualpa 3 Wordpress theme 1 Apr 11, 2009 10:28 PM
How to place ads at top of category pages? RuthSmith Atahualpa 3 Wordpress theme 3 Feb 25, 2009 12:49 PM


All times are GMT -6. The time now is 06:27 AM.


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