A few months back I wanted a way to remove the <p></p> tags from around “the_excerpt” when it is displayed in one of my Wordpress blogs.
So I asked Amit who knows just about everything Wordpress does, and/or what can be done with it. It took him about 30 seconds to come up with a nifty little plug in that does just what I wanted.
Thanks, Amit!
He did not seem as excited with it as I was, but I see that quite a few people have been asking for this same request at the Wordpress support forums so I have decided to just create a page for it in hopes that maybe others will find it as useful, as I have.
Download
no-excerpt-p.zip
Installation
Your good to go.
Of course, if you want the <p> tags around some “excerpts” and not around others you can always add the tags manually.
<p><?php the_excerpt() ?></p>
Keep up to date with the latest articles by adding my RSS feed to your feed reader, or you can also subscribe by Email
November 7th, 2007 at 7:45 pm
[...] Markup: Cleanly display code examples in a post. Get Recent Comments: Display most recent comments. No-Excerpt P: Removes <p></p> tags from around “the_excerpt” Popularity Contest: List [...]
November 28th, 2007 at 2:01 am
haha awesome guys, been trying to work this out for past couple hours
June 12th, 2008 at 6:05 am
[...] <p></p> intorno a the_excerpt per poter gestire tutto dal template. Il plugin si chiama No Excerpt P, e non fa altro che eliminare la funzione wpautop. In questo modo รจ possibile inserire il testo [...]
August 9th, 2008 at 9:59 pm
Cool, that is working like a charme.
Thankd alot man
August 21st, 2008 at 9:23 pm
[...] No Excerpt P Plugin — removes those <p> tags that appear in the default WordPress blog excerpts. Based on our tests, those P tags result in blank Yahoo! Buzz submit pages. It will be a hassle for those who want to submit your stories to Yahoo! Go ahead and try the buzz buttons on this page and see how it works. [...]
November 1st, 2008 at 8:19 am
awesome. simply awesome.