• Hello,

    the widget title is set as h3.

    I have SEO problems with h3, so I want to change the h3 heading tags to p

    I tried to copy woocommerce-ajax-filters/templates/old_templates/widgets_start.php to my child theme and changed it here but it didn’t work

    How to do that? I couldnt find a setting for that.

    Thanks for any help!

    I have version 1.5.1.3

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    You can use this code to replace h3 with h5

    add_filter('BeRocket_AAPF_template_full_content', 'some_custom_berocket_aapf_template_full_content', 4000, 1);
    add_filter('BeRocket_AAPF_template_full_element_content', 'some_custom_berocket_aapf_template_full_content', 4000, 1);
    function some_custom_berocket_aapf_template_full_content($template_content) {
        $template_content['template']['content']['header']['content']['title']['tag'] = 'h5';
        return $template_content;
    }

    Also you can change h5 to p if you need.

    Regards,
    Oleg

    Thread Starter wpisco

    (@wpisco)

    Thanks, this works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hello, the widget titel is set as h3. I have SEO problems with h3, so I want t’ is closed to new replies.