• 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

Removing title on Homepage

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 › Design Tips and Tricks › Removing title on Homepage

This topic is: resolved

Tagged: homepage title, remove title

  • This topic has 6 replies, 2 voices, and was last updated 11 years, 1 month ago by gcampton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 19, 2014 at 9:56 pm #128368
    gcampton
    Member

    Hey guys, I set a static page as my homepage, however the title of the page is showing.

    site

    Know how I can remove this?

    October 19, 2014 at 10:03 pm #128369
    Genesis Developer
    Member

    add the following CSS in your style.css file

    .home h1.entry-title{display: none}


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    October 19, 2014 at 10:09 pm #128370
    gcampton
    Member

    Thanks I'd prefer to use another method if anyone has any ideas.

    Hiding<h1>tags via CSS is a BIG NO NO according to Google.

    October 19, 2014 at 10:12 pm #128371
    gcampton
    Member

    I was thinking perhaps in the page.php I could put in an if condition, but I'm still learning php so I'm not entirely sure this is right.

    
    if (! get_post_id(23))
    {
        <h1 class="entry-title"><?php the_title(); ?></h1>
    }
    

    or something like that

    October 19, 2014 at 10:19 pm #128373
    gcampton
    Member

    Well that would be doable on a normal child theme. However Genesis hides everything so anybody who hasn't spent 10 decades learning the intricacies can't find it.

    page.php just says

    <?php
    
    genesis();
    
    ?>
    October 19, 2014 at 10:19 pm #128374
    Genesis Developer
    Member

    Ok. Then create a PHP file page-home.php and paste the following code in this new file

    <?php
    /**
     * Template Name:  Home
     *
     **/
    
    remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
    remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
    remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    
    genesis();

    Next upload the file in your child theme via FTP. Now edit the home page and select the "Home" template from page template drop down list, hit on update button and lastly refresh your home page once. Hope that this will solve your issue and mark this thread as RESOLVED.


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    October 19, 2014 at 10:32 pm #128375
    gcampton
    Member

    You are awesome, thanks.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ 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