In running my page from an optimization program, it picked up on the fact that I am using the “H1” tag twice. I am intentionally using this for the title for the main body of text. But the H1 tag is also appearing in relationship to a “class”.
Please take a look at the following screenshot:
http://prntscr.com/2q5zpm
Is it possible to remove the use of “H1” in reference to <h1 class=’main-title entry-title’> ?
Thank you very much for your assistance.
Dan
Hi Dan!
HTML5 makes it possible and semantically correct to have multiple h1 tags per page. The first one is the title of your page and so a search engine would identify it as such. Then, inside of that first section element you have the sections h1 which is the title and most important part of that section.
So yes, you can but it is not a SEO hit like it once was years ago to have multiple h1 elements per page.
Regards,
Devin
Hello Devin:
Thank you for this explanation. However, I still would like to remove the first occurrence of H1 tags as I only want the H1 tag to appear when I intentionally use this as part of the text that I add to pages.
So how would I, or how could you, remove the first occurrences of H1 tags?
Thank you,
Dan
Hi!
Please go to Appearance > Editor and open functions-enfold.php file and find
'heading' => 'h1'
and change it
Best regards,
Yigit
Yigit:
When you say “change it”, what do you recommend I change this to?
Thank you,
Dan
Hi!
I would recommend you to leave it as it is but you can change it to any other heading elements
Regards,
Yigit
Thank you very much Yigit. Once again, I think you are providing great customer service. I really appreciate it!