-
Website
http://marketingtechblog.com/ -
Original page
http://marketingtechblog.com/2006/09/06/wordpress-hack-after-the-first-post-only-on-the-home-page/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Douglas Karr
16 comments · 13 points
-
Ash Srivastava
8 comments · 1 points
-
authorityseo
4 comments · 22 points
-
Dave Doolin
3 comments · 38 points
-
paulmcenany
3 comments · 1 points
-
-
Popular Threads
I just wanted to drop you a quick thank you for this tip. I had written an article with a slightly different method that was less effective than yours and one of my readers pointed out your article to me.
I have since modified my article and given credit where credit is due.
Thanks again,
John
If not, can you please enlighten me on how I can do this?
Thank you!
Tyler
stuff goes here
Thanks in advance
Vaibhav
I've been searching for ages and can't find it!
Hope someone can help.
Thanks in advance.
James
Sure! Rather than the close bracket, I think you can use:
<? } elseif ($post==$posts[0] && !is_paged()) { ?>Your other html
<? } ?>
Doug
I am working whit a plugin on my homepage... But the coderguidelines document has the restriction of don't touch the core theme code... so i am using the add_filter function...
if(is_home()) add_filter('the_content','myfunction');
But is doesn't work correctly.... this filter show me the pluging content in every post in my homepage... what can i do ? does exist another hook just for the content of the homepage ?
Thanks...