• Resolved icwicks

    (@icwicks)


    Hello lovely people.

    I’ve started a blog site and have been adding posts using the visual editor in WP.

    I’ve recently been trying to make the site a bit better and went onto the free ubersuggest platform.

    It scanned my site and said that there were no H1 tags. I was under the impression that when I added a title it would automatically add the H1 tags – apparently this isnt the case. (Seems daft to me but that may be just be me not understanding things)

    Anyhow I have gone into the code editor and manually added the tags in the title like this: <h1>Alicante Weather: 7 things you should know</h1>

    Is this good enough to fix the issue?
    and … is there a way for the tags to be automatically added to the title in the visual editor?

    Edited : to fix spelling

    • This topic was modified 10 months ago by icwicks.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I see several H1s when I view your site. I recommend asking at https://www.ads-software.com/support/theme/oceanwp#new-post so the plugin’s / theme’s developers and support community can help you with this.

    Thread Starter icwicks

    (@icwicks)

    Thanks Steven,

    I’ll do that

    I was under the impression that when I added a title it would automatically add the H1 tags – apparently this isnt the case. (Seems daft to me but that may be just be me not understanding things)

    Note that titles of posts may be used all over the place: eg on an archive page where multiple posts (with their titles) are listed, “latest posts” listing in the sidebar, etc. And in many of these listings, you don’t want multiple H1 tags scattered all over the place… so it would be a problem if the H1 markup was tied to the title text.

    As such, WordPress itself returns the unformatted title text. It’s left to theme authors to enclose the text in the appropriate HTML markup depending on where they’re displaying the title in their theme.

    Most themes, indeed, use the H1 tag on the single POST/PAGE page. But it seems your OceanWP theme uses H2 instead. I’ve tested this to be the case. This is purely a design choice by the theme’s author. And their solution to “fix” this involves creating a child theme and adding a bit of code to the child theme’s functions.php file. See: https://docs.oceanwp.org/article/453-alter-the-single-post-heading-tag

    Since you’re using the Elementor page builder plugin, another option would be to create an Elementor POST template to render individual posts (where you’d use your desired H1 for the post title), instead of using your theme’s template.

    Ultimately, this is a theme issue… and if you need further help with this, please post in the OceanWP theme’s own support forum so the theme’s authors and user community can assist you: https://www.ads-software.com/support/theme/oceanwp

    Good luck!

    Moderator Support Moderator

    (@moderator)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘no H1 Tags’ is closed to new replies.