Sitesao Support
  • Home
  • Themes
  • Plugins
  • Support

Support Forums

Home/Forums/Theme & Template/WOOW – WordPress Theme/More than one -tag

More than one -tag

This topic is: not resolved
header h1
  • September 8, 2016 at 11:15 am #19929

    jeffen
    Participant

    Hi,

    I have customized the theme by removing page title (<h1>) and bread crumb from the category image by removing the following from header.php:

    <h1><?php echo esc_html($page_heading_title) ?></h1>
    <?php if(!empty($page_heading_sub_title)):?>
    <?php echo esc_html($page_heading_sub_title) ?>
    <?php endif;?>
    <?php if($page_heading_breadcrumb_flag):?>

    <?php dh_the_breadcrumb()?>

    <?php endif;?>
    <?php if($page_heading_button_flag):?>
    ” title=”<?php echo esc_attr($page_heading_button_text)?>”><?php echo esc_html($page_heading_button_text)?>
    <?php endif;?>

    Instead of this, I manually place an <h1> in the category description.

    So far so good. But when I check the source code on one of the category pages, I have two <h1> tags. The one I manually set but also this:

    <h1 class=”navbar-brand-title”>

    MarockoDesign
    MarockoDesign
    MarockoDesign
    <meta itemprop=”name” content=”MarockoDesign”>

    </h1>

    The product pages have the same issue: two <h1>-tags.

    For example you can see a category here:
    https://marockodesign.se/produkt-kategori/inredning/mobler/
    and a product page here:

    Handtillverkat sidobord i mässing

    Is this normal, I tought there should be only one h1-tag on every page? Some SEO analysing tools are complaning about more than one h1-tag.

    Thanks in advance!

    Best regards
    Andreas


    Sorry, this forum is for verified users only. Please Login or Register to continue

Log In
Register Lost Password

Forums

  • Theme & Template
  • Plugin & Extension

Our Themes

Our Plugins

Tags

acf ajax Bug conditional logic css demo DHVC DHVC Form email Error footer form gallery Header Image Images layout login luxury mailchimp Menu mobile newsletter Newsri not working page plugin product product page recaptcha shortcode Sidebar Single Product Page spam Submit Submit button template translate Translation update Visual Composer woocommerce Woo Detail Product Page Builder woow WPML
© Copyright Sitesao.com - Support Policy