- 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.
- No longer supported.
- Released as standalone plugin.
- Added $br option to echo text with preserved paragraph breaks.