Answers for "how to change title tag of widget in wordpress"

0

how to change title tag of widget in wordpress

function my_custom_widget_title_tag( $params ) {

    $params[0]['before_title'] = '<h4 class="widget-title widgettitle">' ;

    $params[0]['after_title']  = '</h4>' ;

    return $params;

}
add_filter( 'dynamic_sidebar_params' , 'my_custom_widget_title_tag' );
Posted by: Guest on August-29-2021

Code answers related to "how to change title tag of widget in wordpress"

Browse Popular Code Answers by Language