Plugin Directory

Simple First Sentence Highlighter

Highlight the first sentence in a string with a specified CSS style. (Plugin no longer supported)

  1. Upload fp_firstsentence.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use <?php fp_firstsentence( $str , $style , $br ); ?> in your theme templates.

NB: The $style must be valid CSS, for example "font-size:14.5px;font-weight:bold;color:#990000;" or anything that you may have used in to style the text.

$br is optional, and only needed if you are specifying false / 0.

Requires: 2.0.2 or higher
Compatible up to: 2.8.2
Last Updated: 2010-6-16
Downloads: 247

Average Rating

4 stars
(3 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.