• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to force H1 Entry Titles

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to force H1 Entry Titles

This topic is: not resolved

Tagged: Change Genesis Post Titles to H1

  • This topic has 1 reply, 1 voice, and was last updated 11 years ago by samw.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 4, 2014 at 1:52 am #112937
    samw
    Member

    Hi

    Can anyone suggest how to force child themes to use H1 for post entry title when not using genesis for seo

    Even with Genesis SEO settings some themes use H2 for entry titles even without semantic html on for the whole site

    I need to force these to be H1

    many thanks

    <h2 class="entry-title"> needs be h1


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

    July 9, 2014 at 9:24 pm #113678
    samw
    Member

    Hi

    For anyone who would like to have H1 Post Titles, this code added to functions worked for me.

    Page Titles with or without SEO plugins seem to be showing as expected in H1

    Remember, always back up functions before making any changes

    /*
    Changing Genesis H1 Post Titles to H2
    */
    add_filter( 'genesis_post_title_output', 'ac_post_title_output', 15 );
    function ac_post_title_output( $title )
    { if ( is_home() || is_archive() )
    $title = sprintf( '<h1 class="entry-title">%s</h1>', apply_filters( 'genesis_post_title_text',get_the_title() ) );
    return $title;
    }


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble