• 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

Digital Pro – remove Titles on pages

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 › Digital Pro – remove Titles on pages

This topic is: not resolved

Tagged: page titles

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 23, 2017 at 1:19 pm #206882
    thibaultsa
    Member

    Hi,

    I have tried unsuccessfully to remove titles on all my pages, ideally I'd like to do it directly in the server and not use plugins. I am using Digital Pro theme.

    Could you please advise me the code line that I need to enter, and where exactly this code line should go?

    Many thanks !

    May 23, 2017 at 2:08 pm #206889
    Victor Font
    Moderator

    Here's some code you can add to functions.php. Replace the numbers in the array with the id numbers for the pages from which you ant the titles removed.

    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' );
        }
    }

    Regards,

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

    May 23, 2017 at 2:10 pm #206890
    thibaultsa
    Member

    Thank you Victor. In the meantime, after a long search, I found one of your comments on another thread and you advised to use the following code to get rid of titles on ALL pages :

    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' );
    }
    }

    Is this code line still correct ?

    Thank you again

    May 23, 2017 at 2:38 pm #206895
    Victor Font
    Moderator

    It is if you want the titles removed from all pages.


    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 4 posts - 1 through 4 (of 4 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