WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding H1 and H2 - easy option? (17 posts)

  1. drunkenwerewolf
    Member
    Posted 7 months ago #

    Hello,

    I have a custom design WordPress based website through a 1-click instal.

    Recently I've been forced to make some changes due to memory limitations, and as part of that I've swapped from the WordPress SEO plugin to Yoast's SEO plugin. I've taken the opportunity to 'spring clean', and I've just noticed our H1s and H2s are completely missing! We hired a web developer to go through the site in July and I'm guessing he failed to take into account H1s and H2s. We definitely had the tags before.

    I'm pretty good with SEO to a point. I can read HTML and add H1/2 code into individual posts. However, I was wondering whether there's an easy/auto option, i.e. a plugin, that would automatically add H1/2 code to all posts and importantly the home page for me?

    Alternatively, what's the best way to add H1/2 code to the home page? I'm not brilliant at code.

  2. esmi
    Forum Moderator
    Posted 7 months ago #

    Your theme needs to be overhauled if you want to do this properly.

  3. drunkenwerewolf
    Member
    Posted 7 months ago #

    Hey Esmi,

    I thought that might be the case, but that will involve re-hiring the web developer and I'd like to sort *something* in the meantime. Any suggestions?

  4. esmi
    Forum Moderator
    Posted 7 months ago #

    There's no plugin that can turn (say) H3 tags into H1 tags. Every template file in the theme needs checking and modifying.

  5. drunkenwerewolf
    Member
    Posted 7 months ago #

    Okay, I'm guessing the home page is the most important? Would you suggest putting the h1/2 tags in a specific place? I'll put them in one of the footers if not.

  6. esmi
    Forum Moderator
    Posted 7 months ago #

    In the footer? Do you know how HTML header markup is supposed to be used? Would you put the title of a book chapter at the bottom of the page?

  7. drunkenwerewolf
    Member
    Posted 7 months ago #

    Thanks for being sarky. I'm not a web developer, that's why we've hired one. I am asking for your help, after all. Perhaps if you're not willing to give it to me, you should leave this post for someone else to deal with?

    The issue is H1 text is gigantic and putting it at the top of the page would frankly look ridiculous - I'd prefer to have substandard SEO. Is there a way of hiding the code, or alternatively where do you suggest putting it?

    The home page is: http://www.drunkenwerewolf.com - as you can see, this can't be a case of selecting pre-existing text for h1 as the home page is very graphics based.

  8. Perhaps if you're not willing to give it to me, you should leave this post for someone else to deal with?

    drunkenwerewolf? I suggest you give the forum welcome a read.

    http://codex.wordpress.org/Forum_Welcome

    This section would be good to look over too.

    You are being helped and that was not snarky at all.

  9. esmi
    Forum Moderator
    Posted 7 months ago #

    The point I was making is that you cannot just drop HTML heading tags anywhere on the page and expect to get any decent SEO. Heading tags are meant to be used to add structure to a page - just as a chapter title is added at the top of the first page of the chapter and not some place else.

  10. drunkenwerewolf
    Member
    Posted 7 months ago #

    Thank you. In that case, is there a way to use h2 on subject titles? That's ultimately what they are, it's just that we don't currently use < h2 > because the design negates its physical use.

    Likewise, the design of the homepage negates the use of < h1 >, although I can reorganise the home page slightly to add an h1 to the header bar.

  11. drunkenwerewolf
    Member
    Posted 7 months ago #

    (And I do think the design speaks for itself in terms of navigation - the issue is the web developers not used h1/2 specifically, not that the site lacks structure)

  12. esmi
    Forum Moderator
    Posted 7 months ago #

    is there a way to use h2 on subject titles?

    Yes - via your theme's template files.

    the design of the homepage negates the use of < h1 >

    I'm sorry but that makes no sense at all. Graphical design and semantic markup structure are two completely different things. All pages need heading tags. If there is only 1 heading, then it needs to use an <h1> tag.
    http://www.w3.org/QA/Tips/Use_h1_for_Title
    http://www.w3.org/MarkUp/html3/headings.html

    the design speaks for itself in terms of navigation

    Speaks to who? Google cannot "see" a site. It parses the markup & weights content accordingly. You seem to assume that every visitor who comes to your site will use a graphical browser. In reality, that is far from the case.

  13. drunkenwerewolf
    Member
    Posted 7 months ago #

    1) Considering I'm not hugely good at code, is that going to be do-able my end? What is the code that needs inserting, a simply < h2 >?

    2) Like I say, I don't full understand code. In physical appearance, the design of the site negates the use of h1, i.e. the developer has used font size 15 instead of h1/font size 13 instead of h2. That's the crux of the issue. I'll make the h1 appear in the strap line at the top of every page - I'm aware you can only have one h1, and that you need to have them in sequence.

    3) I think the majority of our readers do use a graphic browser, but I appreciate what you're saying. That's exactly why I want to insert h1/h2, so that the design makes sense to Google etc.

  14. Andrew
    Forum Moderator
    Posted 7 months ago #

    I'm aware you can only have one h1

    You can have many h1s as long as they're used appropriately. E.g if you use a h1 in the header then it can be appropriate to use a h1 in the body and footer (those sections can be siblings).

  15. drunkenwerewolf
    Member
    Posted 7 months ago #

    Thanks Andrew, so if I use h2 on the subject and h3 somewhere in the text, is that going to be okay with an h1 in the header, or should I also use an h1 in the body?

    A typical page looks like this: http://www.drunkenwerewolf.com/blog/introducing-eyes-gertrude/

  16. Andrew
    Forum Moderator
    Posted 7 months ago #

    In your case the header text, "drunken werewolf" will probably be the only h1 because all other headings relate to it.

  17. drunkenwerewolf
    Member
    Posted 7 months ago #

    Okay, that's what I was thinking of doing, and then I'll amend the templates so that the subject line's always h2, h3's already installed. Thanks for clearing that up for me!

Reply

You must log in to post.

About this Topic

Tags