- This topic has 3 replies, 2 voices, and was last updated 6 years, 11 months ago by .
Remove H1 tag from header
You must be logged in to reply to this topic.
How i can remove the H1 tag from the header ?
SEO Analysis Detail
SEO Suggestion There are multiple <h1> tags on the page.
Severity High
Error Count 2
Non-Compliant Pages 1
Recommended Action Remove redundant <h1> tags from the page source, so that only one <h1> tag exists.
Header.php
————————————–
?php
$integral_logo = get_theme_mod(‘integral_logo’);
if(isset($integral_logo) && $integral_logo != “”):
echo ‘<h1 class=”site-title”>‘;
echo ‘‘;
echo ‘</h1>’;
else:
echo ‘<h1 class=”site-title”>‘;
echo ”.get_bloginfo(‘title’).”;
echo ‘</h1>’;
endif;
?>
Hello @broujoc
It’s not something you should be too concerned about however, if you wish to change it I can do it for you.
I will just need admin access to your website so I can log in and edit the header.php file.
Make sure to select Set as private reply when responding.
Hello,
I will need WP Admin access.
If you are comfortable with HTML/PHP code then simply change the H1 tag in the header to a div.
That should resolve your issue.
You must be logged in to reply to this topic.