[SOLVED] Question about this code: $bfa_ata['postcount'] == 1
Hey there,
I use the code "$bfa_ata['postcount'] == 1" to make things show up within the first post on a page. I use it in conjunction with "is_front_page()", for example: PHP Code:
Items I place within this PHP also show up on the page 2 of the front page, which I don't want. I only want it to show up on the very first post on page 1. I've looked through WP codex a little bit and couldn't figure out if there is a way to do this...let me know if you have any ideas. Best, Adam |
Does this work?
PHP Code:
See also http://codex.wordpress.org/Condition...s#A_Paged_Page |
Perfect! Thanks so much Flynn, that worked exactly how I hoped it would. :)
|
All times are GMT -6. The time now is 02:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.