WordPress.org

Support

Support » How-To and Troubleshooting » h1 tag, can I change it to be different for different pages?

h1 tag, can I change it to be different for different pages?

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    @esmi

    Forum Moderator

    You would need to edit your theme’s template files and change:

    <h2 class="PostHeaderIcon-wrapper">
    [ ... ]
    </h2>

    to:

    <h1 class="PostHeaderIcon-wrapper">
    [ ... ]
    </h1>

    Thanks Esmi, I just did that, but it didn’t make any difference to my h1 tag according to the SEO software I’m using, any ideas?

    esmi

    @esmi

    Forum Moderator

    What template files did you edit? I can’t see any change in your Home page (which uses index.php).

    Hi Esmi,

    I had edited the wrong thing, I had done the archive pages (i’m a HTML dunce), just edited it in ‘index.php’ but still no luck…

    thanks for your help

    Ruchi

    esmi

    @esmi

    Forum Moderator

    The post headings on your Home page are still using H2.

    This is what I have in index.php

    [Mod Note: Chunk of code removed. If you want to post large blocks of code, please use a pastebin.]

    there is no part that is h2

    thanks again for your help

    Ruchi

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘h1 tag, can I change it to be different for different pages?’ is closed to new replies.