DMG Text Widget replaces the standard text widget with one that includes advanced options to apply a CSS class, add paragraphs, apply shortcodes, hide the title and make the title a link.
Two hooks are available to filter the title and text;
dmg_text_widget_title
for the title and
dmg_text_widget_text
for the text.
For example, to change the title on a single page or post, you could add this to your functions.php file:
function myTitleFilter( $title ) { if( is_singular() ) { return "<strong>$title</strong>"; } else { return $title; } } add_filter( 'dmg_text_widget_title' , 'myTitleFilter');
More information about this plugin can be found at
http://dancoded.com/tag/dmg-text-widget/.