Archived topic
H1 for blog pages
5 replies · Started by Robert on March 24, 2022
My site is missing H1 on blog pages. I looked through previous posts but most of the topics were older, so not sure it still works with current GP version?
So, how do I add H1 to blog pages?
Thanks
Hi there,
can you share a link to a page where the H1 is missing ?
Ok so WP doesn't output a Content Title for the Blog.
GP automatically adds the H1 to the Site Title if that is displayed.
As you're using a logo you can:
a) Add a Page Hero using a Block element to add your own H1 title:
https://docs.generatepress.com/article/block-element-page-hero/
b) If its just to appease the SEO plugins or Lighthouse reports then you can use some CSS to hide it so the H1 is in the markup but not seen by the user.
c) Or ignore the missing H1 warnings, as i suspect most visitors know what a Blog page is :)
Lol, I think I'll choose c) for this one
Thanks for the help
Glad to be of help :)