• 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 Page Title from Plugin

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 › Remove Page Title from Plugin

This topic is: resolved

Tagged: entry-title, genesis_do_post_title, page-title, post title

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 11 months ago by johnnya23.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 5, 2020 at 10:15 am #496464
    johnnya23
    Member

    I want to remove page titles from a gensis framework site from a plugin this works in a child theme

    function jma_kid_template_redirect()
    {
        //if (defined('GENESIS_LOADED_FRAMEWORK') && get_theme_mod('jma_gbs_site_banner') == 1) {
        remove_action('genesis_entry_header', 'genesis_do_post_title');
        //die();
        //}
    }
    add_action('genesis_before_entry', 'jma_kid_template_redirect');

    in my plugin tried this (below) and about any other hook I can think of in place of template_redirect

    function jma_gbs_template_redirect()
    {    
        remove_action('genesis_entry_header', 'genesis_do_post_title', 999);
    }
    
    function jma_gbs_wrap_redirect()
    {
        add_action('genesis_before_entry', 'jma_gbs_template_redirect');
    }
    add_action('template_redirect', 'jma_gbs_wrap_redirect', 999);

    once again this is within a plugin, not a child theme. I fail to see why the code should behave differenly on the template_redirect hook

    February 5, 2020 at 11:16 pm #496490
    Brad Dalton
    Participant

    Try one of these code snippets.


    Tutorials for StudioPress Themes.

    February 6, 2020 at 5:38 pm #496517
    johnnya23
    Member

    hmm, ok that worked, funny, because I had visited you site as I was working on this. I guess I was over-thinking it with some additional priorities.

    In any case, THANKS

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

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