Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] How to put banner only in single post page?


  #1  
Old Apr 6, 2011, 04:07 PM
Innocent's Avatar
Innocent
 
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
Hi!

I've managed to put banner after every third post in main blog page.

I did it through ATO Style and edit center column and there I added

<?php if ( $bfa_ata['postcount'] == 3 ) { ?>
...banner code...
<?php } ?>

So, there it says that if I put something like <?php if ( is_front_page() AND $bfa_ata['postcount'] == 3 ) { ?> it will show only on FP.

And what would it be for single post page?

Thanks!
  #2  
Old Apr 6, 2011, 04:39 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you will need to use one of the other conditional tags. Take a look at this http://codex.wordpress.org/Conditional_Tags
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 6, 2011, 04:44 PM
Innocent's Avatar
Innocent
 
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
Wow, I made it! Thanks a lot juggledad!

Bookmarks

Tags
banner, center column, loop

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Post container style different for Home Page than single post page maurixx Center area post/pages 13 Jul 23, 2010 04:14 PM
Permalink in single post and single page anup Center area post/pages 0 Jul 15, 2010 10:46 AM
Archive page shows post box help, and single post on front page help boberang Atahualpa 3 Wordpress theme 0 Aug 7, 2009 10:26 AM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 03:58 PM
Banner over Single Post Title jay2009 Header configuration & styling 0 Mar 21, 2009 05:41 PM


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


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