Add span class to widget headlines
// Add span class to widget headlines | |
add_filter( 'widget_title', 'metro_widget_title' ); | |
function metro_widget_title( $title ){ | |
if( $title ) | |
return sprintf('<span class="widget-headline">%s</span>', $title ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment