Support » Theme: Atomic Blocks » Set page titles to H1

  • Resolved mtbanfaengerin

    (@mtbanfaengerin)


    Hello,
    I realized that page titles are automatically set H2 in this theme. How can I change them to H1?
    Thanks in advance,
    Kathrin

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello mtbanfaengerin,

    You can set page titles to H1 for that go to the folder wp-contents -> themes -> atomic-blocks -> template-parts.

    here you need to change on 3 files

    1) content-page.php on line 13 and 15 replace <h2> to <h1> and </h2> to </h1>

    2) content-serch.php on line 14 and 15 replace <h2> to <h1> and </h2> to </h1>

    3) content.php on line 14,16 and 18,20 replace <h2> to <h1> and </h2> to </h1>

    Hope this will helps you.

    Thanks.

    Thank you very much. 🙂 It worked.

    Hello,

    would it be possible, that you change the theme so that the entry tiles (page titles) are set to h1? The Google bot looks for h1 tags to index the content. SEO does suffer from the missing h1 tag.

    I don’t fancy having to set up a child theme for the changes you suggested above.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Set page titles to H1’ is closed to new replies.