Return first paragraph as excerpt | Excerpt-first-paragraph

Here is a neat little plugin that I use on my websites: excerpt-first-paragraph.

It does what it says, it returns the first paragraph as excerpt in your WordPress theme.

Setup

1. Download excerpt-first-paragraph.zip

2. Upload to plugins and activate

3. Replace the_excerpt in your theme with:

<?php
if($pos = strpos($post->post_content, '<!--more-->')) :
the_content(__(''));
else :
echo get_the_content_first_paragraph();
endif;
?>

Note: All images get cut out of the excerpt first paragraph.

And you are all set. No more blog entries cut off mid sentence with … :) Enjoy having your first paragraph as an excerpt!

The unimprovable day to determination soundness problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile disfunction is more common among older men, that doesn’t something you simply have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile dysfunction. You may have heard about “canadian pharmacy online cialis“. More info about the problem available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a dispenser that they are sure to take with your other remedies.