• I’ve checked the single post template and I see the title being H1 but how come when I do the SEO test I’d always ” Your page contains H1 headings but all of them have blank content.” ? Is this something with the theme? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hhi lubpurble. Can you post a link to your site? What “SEO test” is giving you the message?

    Thread Starter lubpurble

    (@lubpurble)

    The theme content files all use <h2> tags for post titles:

    <h2 class="post-title">
    	<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
    </h2><!--/.post-title-->

    Here is an example from the theme demo:

    <h2 class="post-title">
    	<a href="https://demo.alxmedia.se/hueman/2013/10/gabrielle-aplin-with-the-power-of-love/" rel="bookmark"
    title="Gabrielle Aplin with The Power Of Love">Gabrielle Aplin with The Power Of Love</a>
    </h2>

    On your home page it appears that the post title is using an <h1> tag with an additional class added:

    <h1 class="post-title entry-title">
    	<a href="https://hssszn.com/?p=2250" rel="bookmark" title="比綠是一種流行: 全世界最環保國家排名">比
    綠是一種流行: 全世界最環保國家排名</a>
    </h1><!--/.post-title-->
    Thread Starter lubpurble

    (@lubpurble)

    Hi! thank you! Do you know where I would go to change the theme’s content files from h2 to h1? That’s what I need to do right? Thanks once again!

    Your home page is using <h1> for every post title. This is not the theme default so something else is setting that style. The <h1> tags are empty because the post title is being displayed in the anchor tag. Normally you would only want, and have, one <h1> tag on a page. From an SEO perspective, that would be the most important information on the page. For your home page, the theme default <h1> is the site title. For a post page, it’s the post title.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Headings Status’ is closed to new replies.