• Resolved gabrieldelpech

    (@gabrieldelpech)


    Hello,

    First of all, thank you for creating this nice plug-in which improves a lot what WordPress can offer!

    For SEO purposes, I’m trying to switch all <hx> tags to <p>, because it adds a lot of h2 and h3 that are not perceptive from a SEO point of view. I am used to do it by modifying the source code, but is there a way to do this through the settings?

    If not, could you tell me in which folder I can find the appropriate files?

    Thank you.

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

    (@razyrx)

    Hello,

    You can try to use this custom code

    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'] = 'p';
        return $template_content;
    }

    Regards,
    Oleg

    Thread Starter gabrieldelpech

    (@gabrieldelpech)

    Hello Oleg,

    It seems to work perfectly. Thank you so much! I’m sure it will help other users.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replacing tags by for SEO purposes’ is closed to new replies.