-
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”>
<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: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
More than one -tag
This topic is: not resolved