• 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

Hiding Page Title in Page Body (Beautiful Theme)

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 › Hiding Page Title in Page Body (Beautiful Theme)

This topic is: not resolved

Tagged: Beautiful theme, page-title

  • This topic has 4 replies, 3 voices, and was last updated 8 years ago by Tim Squires.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 16, 2015 at 12:49 am #137635
    LZera
    Member

    Hi,
    Could someone please tell me how to hide page title so that it doesn't show up as the first line of text in that page's body?

    Thanks!

    http://laurazera.com
    January 16, 2015 at 2:02 am #137642
    Tim Squires
    Member

    Hi,
    You need to use this code in your functions.php file. Note that you need to find the id for your page and insert it appropriately.

    //* Remove page title for a specific page (requires HTML5 theme support)
    //* Change '28' to your page id
    add_action( 'get_header', 'child_remove_page_titles' );
    function child_remove_page_titles() {
    if ( is_page( 28 ) ) {
    remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    }
    } 

    This code comes from the tutorial below, and is well worth reading before you make your changes if you are unfamiliar with procedures like this.
    http://www.rickrduncan.com/wordpress/remove-genesis-page-titles


    timsquires.com.au

    January 16, 2015 at 11:08 am #137679
    wario
    Member

    I would just use the Genesis Title Toggle plugin. You can set titles to be off by default (set in the Genesis Settings) and then turn them on a per page basis.

    January 16, 2015 at 11:12 am #137681
    LZera
    Member

    Thanks, you guys. I'll definitely try the (easier) plugin first, but appreciate having a back-up solution. Cheers!

    January 16, 2015 at 5:31 pm #137713
    Tim Squires
    Member

    You're welcome - and I learned something too, that plugin sounds great!


    timsquires.com.au

  • 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

© 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