• 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

Simple Edits – Removing Entra Meta on One Blog Post, But Not Others

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 › Simple Edits – Removing Entra Meta on One Blog Post, But Not Others

This topic is: not resolved

Tagged: Blog Post Customizations, entry-meta, php, simple edits, Studiopress Customer Service

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by swstudio.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 4, 2015 at 10:45 am #136028
    swstudio
    Participant

    I used the Simple Edits plugin to remove the Post Author on all my posts. Now I want to remove the post Entry Meta (below content) on just the one blog post on the home page of my website. Not on any of the other blog entries which appear elsewhere.

    Any suggestions? I've posted a few questions lately and no one has responded. Just looking for a: Yes you can do this without complicated PHP mark-up or No you cannot do it without complicated PHP mark-up. I'm using no FTP on this site, just Genesis Extender (I don't want to tinker with that PHP mark-up area at this point).

    Thank you!

    http://tinyurl.com/l8w5apy
    January 4, 2015 at 11:48 am #136037
    rfmeier
    Member

    swstudio,

    Since Genesis Simple Edits alters the entry content globally, this will require a php hook within the theme's function.php file. If you want to avoid editing the php directly, you can try using the Genesis Simple Hooks plugin and add the following to the genesis_before_entry hook.

    <?php
    if( ! is_home() ){
        return;
    }
    
    remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
    remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    ?>

    Remember to check Execute PHP on this hook?


    Ryan Meier – Twitter

    January 6, 2015 at 8:50 am #136185
    swstudio
    Participant

    Thanks Ryan! Simple Hooks it is.

  • 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

© 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