• 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

Remove Title from Page Template – No Sidebar

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 › Remove Title from Page Template – No Sidebar

This topic is: not resolved

Tagged: page, template, title

  • This topic has 2 replies, 3 voices, and was last updated 7 years, 2 months ago by Victor Font.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 18, 2016 at 3:13 pm #181825
    Nigel1985
    Participant

    I want to create a new page template that only removes the title from a page but keeps the menu, header, footer, etc. What file would I need to edit to do that?

    http://add1tbsp.com
    March 19, 2016 at 2:21 am #181838
    Davinder Singh Kainth
    Member

    Why take trouble of making template just to remove the title.

    1. Use CSS method to hide page title.
    2. Or remove it per page selectively using Genesis title toggle plugin -https://wordpress.org/plugins/genesis-title-toggle/


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    March 19, 2016 at 7:10 am #181853
    Victor Font
    Moderator

    You can remove page titles selectively or all at once by adding this code to your functions.php. Use one or the other, not both:

    This snippet removes pages where the page ID is in the array:

    add_action( 'get_header', 'child_remove_page_titles' );
    function child_remove_page_titles() {
        $pages = array( 519,1149,1754,3545,4544,5199 );
        if ( is_page( $pages ) ) {
            remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
        }
    }

    This snippet removes all page titles:

    add_action( 'get_header', 'child_remove_page_titles' );
    function child_remove_page_titles() {
    
        if ( is_page(  ) ) {
            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?

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

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