• Resolved Sigognac

    (@sigognac)


    Hi again,
    I am trying to resolve H1 and H2 headings for each of my pages at https://www.karelzitny.cz. It is really important for my clear SEO.

    I would like to change the headings as follows:

    https://www.karelzitny.cz (homepage)
    Current H1:
    KAREL ?ITNY
    Menu
    KONTAKT
    ?TíTKY
    Rubriky
    Archiv
    Google Analytics Certified Individual
    Na konci roku 2015 jsem úspě?ně absolvoval certifikaci Google Analytics
    Current H2:
    KONZULTANT ONLINE MARKETINGU

    The following way I would like to modify all H1/H2/H3 on homepage:
    Requested H1:
    KAREL ?ITNY KONZULTANT ONLINE MARKETINGU
    Requested H2:
    Google Analytics Certified Individual
    KAREL ?ITNY KONZULTANT ONLINE MARKETINGU
    Requested H3:
    Na konci roku 2015 jsem úspě?ně absolvoval certifikaci Google Analytics

    The following way I would like to modify all H1 at post pages:

    Current H1:
    KAREL ?ITNY
    Menu
    KONTAKT
    ?TíTKY
    Rubriky
    Archiv
    Google Analytics Certified Individual
    Current H2:
    KONZULTANT ONLINE MARKETINGU
    Na konci roku 2015 jsem úspě?ně absolvoval certifikaci Google Analytics

    Requested H1:
    Google Analytics Certified Individual

    H2 I can edit through the posts editor.

    Any idea, please? I still can’t find a way how to change it. I am using child theme. Thank you for support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Sigognac

    (@sigognac)

    Moderator Kathryn Presner

    (@zoonini)

    If you want to change the heading structure in the theme you’ll need to find the files that include the heading tags you want to change, copy them into your child theme, and change them there.

    For example, content-page.php includes this line, where an h1 tag is set for the page title:

    <h1 class="entry-title"><?php the_title(); ?></h1>

    It is really important for my clear SEO.

    For the sidebar widgets, they use h1 tags and that’s set in the function writr_widgets_init() { in functions.php. This is not a “pluggable function” and cannot be easily overridden in a child theme. If you are comfortable with PHP coding you might be able to write a custom function to override it.

    A note about SEO: Writr was built using Underscores as its base starter theme, which uses modern coding standards. Multiple h1 tags are perfectly acceptable with an HTML5 site – the idea that it is harmful in some way for SEO pre-dates HTML5. Some info.

    Thread Starter Sigognac

    (@sigognac)

    Hmm, as I see it is probably not so important for all invested time. Thank you!

    Moderator Kathryn Presner

    (@zoonini)

    My pleasure.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change H1/H2/H3 in Writr?’ is closed to new replies.