Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1267252
    djinnie
    Participant

    Hi there,

    For all my blog posts I have the following header tags:

    <H1>: [site name]
    <H1>: The Blog
    <H1>: [blog title name]

    This is very bad for SEO purposes. How can I disable these automatic h1 site name and h1 blog name? As all pages/posts should only have 1 h1 header and not multiple h1 headers.

    Thanks

    #1267665
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Login to your server via FTP and navigate to this directory: wp-content\themes\x\framework\views\global\ copy the file _brand.php and paste it of your child theme’s x-child\framework\views\global\ directory. Look for the line

    <?php echo ( is_front_page() ) ? '<h1 class="visually-hidden">' . $site_name . '</h1>' : ''; ?>

    You can remove that line or replace the h1 with other tag.

    Hope it helps, Cheers!

  • <script> jQuery(function($){ $("#no-reply-1267252 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>