Highlight the first sentence in a string with a specified CSS style. (Plugin no longer supported)
fp_firstsentence.php to the /wp-content/plugins/ directory<?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
Got something to say? Need help?