Hi,
For SEO purposes I’d like to change the h5.pb-widget-title (the header of normal text widgets) to h3.pb-widget-title.
I’m aware that I could leave the title field of the text widget empty and write h3 into the text, but there are dozens of pages which need this change and I’m looking for a global solution.
I found the following function in one of your support threads and put it into my child theme, but it doesn’t make a difference:
function pojo24475_setup_builder_widget_args( $args ) {
$args['before_title'] = '<h2 class="pb-widget-title"><span>';
$args['after_title'] = '</span></h2>';
return $args;
}
add_filter( 'pb_empty_widget_args', 'pojo24475_setup_builder_widget_args' );
Any ideas how I could solve this?
Thanks,
Steffi