Skip Navigation

No Excerpt P Plugin

 By: Ben Partch » On: August 16th, 2007

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

  1. Unzip
  2. Upload to: http://yoursite.com/wp-content/plugins/
  3. Goto: http://yoursite.com/wp-admin/plugins.php
  4. Activate the plugin

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>

6 Responses to “No Excerpt P Plugin”

  1. Minnehaha Project » Blog Archive » Plugins Used in Minnehaha  Says:

    [...] 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 [...]

  2. Andrew Bronson  Says:

    haha awesome guys, been trying to work this out for past couple hours

  3. Il tag the_excerpt di Wordpress - TomStardust.com  Says:

    [...] <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 [...]

  4. tom  Says:

    Cool, that is working like a charme.
    Thankd alot man

  5. Yahoo Buzz Traffic Strategy - Manuel Viloria.com  Says:

    [...] 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. [...]

  6. Jonny Wright  Says:

    awesome. simply awesome.

Leave a Response

Comment







Syndication

Keep up to date with the latest articles by adding my RSS feed to your feed reader, or you can also subscribe by Email


Top of page...