Highlight the first sentence in a string with a specified CSS style. (Plugin no longer supported)
Author: | Joss1 (profile at wordpress.org) |
WordPress version required: | 2.0.2 |
WordPress version tested: | 2.8.2 |
Plugin version: | 1.1 |
Added to WordPress repository: | 05-08-2009 |
Last updated: | 16-06-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://wordpress.org/extend/plugins |
Total downloads: | 628 |
Click to start download |
- NB: This plugin is no longer supported.
Adds a new Template Tag fp_firstsentence( $str , $style , $br )
, which highlights the first sentence in a string/content ($str) with a specified CSS style ($style) - for example: "font-size:14.5px;font-weight:bold;color:#990000;".
NB: By default, $br = 1, meaning that the function will preserve line/paragraph breaks in the content. You can optionally specify $br = 0 to have the function echo a block of text with no breaks.