• 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 page title from Centric Pro Home Page

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 page title from Centric Pro Home Page

This topic is: not resolved

Tagged: centric pro, page titles

  • This topic has 4 replies, 5 voices, and was last updated 5 years, 3 months ago by hmistler.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 15, 2016 at 4:05 pm #194812
    jasonukim
    Member

    Hello,

    I'm a beginner and I've tried everything to remove the page title from my front page using the Centric PRO child theme, which is how it is in the Demo.

    I've used the CSS display none method, as well as the snippets on WP Sites:

    add_action( 'get_header', 'remove_titles_from_pages' );
    function remove_titles_from_pages() {
        if ( is_page(array(contact, about) ) ) {
            remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
        }
    }
    

    I got the above code to work, but it removed the entire header#1 widget + the page title.

    (found at: http://wpsites.net/web-design/remove-titles-specific-conditions/)

    This problem is driving me nuts and I've already sunk a few hours on it.

    Anyone have any idea how to have it stop displaying the page title on the front page? Help is very appreciated

    October 16, 2016 at 11:18 am #194847
    William
    Member

    Hi there,

    The front page, is handled by the front-page.php template file 🙂 That's why, you can't get rid of it !

    Genesis: How to Remove Page Titles


    Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !

    January 21, 2017 at 10:21 am #199763
    WMcKinley
    Member

    here's how I did it in "additional CSS", very simple - just add display:none;

    .page-title {
    color: #fff;
    padding: 20px 0 80px;
    text-align: center;
    display: none;
    }


    W. McKinley – PowerEmini.com

    January 22, 2017 at 9:38 am #199792
    Victor Font
    Moderator

    CSS display: none just hides the text. It doesn't remove it. It uses the WordPress is_page() conditional to determine the pages from which to remove the title. For the front page, you have to use different conditionals. You have to use is_front_page() || is_home(). If you are keeping the is_page(), the the refactored code would look like:

    add_action( 'get_header', 'remove_titles_from_pages' );
    function remove_titles_from_pages() {
        if ( ( is_page(array('contact', 'about') ) ||  is_front_page() || is_home() ) {
            remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
        }
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 27, 2017 at 1:37 pm #200139
    hmistler
    Member

    Check your front page settings in Appearance > Customize. I was having the same problem as you, then I changed my setting in Static Front Page to latest posts (instead of static front page). Got rid of the title instantly.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

© 2022 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