• Hi
    I’ve heard that having more than one h1 tag in one page will have a bad effect on the SEO.
    Now in my homepage both of site main title and post titles are in heading’1′. I’m using
    twentythirteen theme. I would? ?like to change the heading of? ?post titles from h1 to h2 in orde
    to have only one h1 tag(main site? ?title) in any page, especially in homepage. How can I change them?
    Any help is appreciated.
    Thank you guys.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve heard that having more than one h1 tag in one page will have a bad effect on the SEO.

    That is incorrect. As always, usage of headings is heavily dependant upon context.

    Do not edit the Twenty Thirteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes.

    @miladnasri I completely agree with you that you should not have more than H1 tag on the page. First time I am using twentythirteen and it does not seem to be easy to change. If I figure it out before the mod does, I will post back and would appreciate if you would do the same.

    @emsi. Do you know how to change the title on a single post from H1 to H2 and, if so, can you tell us how to accomplish this? It’s different that some other themes I have used. Tx

    No, it’s not simple – you’d have to recode portions of the theme.

    Are you familiar with HTML5 spec or this?

    @wpyogi. Just a bit. I am still learning. Thanks for the video.

    @miladnasri You can change the headings for single post if you go to the file content.php. You will clearly see the H1 heading and you just change it to H2.

    For pages, you have to go to the page.php

    For my site – I want the site title as H1 and the single post as H2 as well as pages so it was easy to me. And it’s a super simple site that I have so for now it works for me.

    The thing is you need to make a child theme or else your changes will be gone once the theme is updated.

    The thing is you need to make a child theme or else your changes will be gone once the theme is updated.

    Definitely use a child theme – and in the case of default themes, they are overwritten when WP is updated.

    You may also need to modify any relevant CSS.

    @wpyogi Thanks so much. You know your stuff ?? – I am now making a child theme.

    @miladnasri. In addition to the above, you also have to go into the archives and category and like everyone else said, it is best to make a child theme (it’s not hard and there are instructions in the forum) because once the theme is updated, all changes are gone.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change the heading of theposts in twentythirteentheme, from h1 to h2’ is closed to new replies.