• 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 Post Info not working

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 Post Info not working

This topic is: not resolved
  • This topic has 3 replies, 3 voices, and was last updated 13 years ago by PhilMurray.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 30, 2013 at 7:17 am #43178
    etchattic
    Member

    Hi there

    Not sure if anyone has experienced this with the balance theme.  I'm trying to remove the post info from my post's and pages but this piece of code that normally works perfectly doesn't seem to be working with this build

    http://wpsites.net/web-design/modify-post-info-genesis/
    
    Any ideas from anyone??
    
    I tried de-acvtivating genesis simple edits but that didn't seem to be playing havoc with it. Not sure what is
    
    I'm trying to avoid using css display:none so that the code doesn't load
    
    Craig
    http://sdesign.evokemedia.ca/wp2/east-29th-north-vancouver/#!prettyPhoto
    May 30, 2013 at 7:20 am #43180
    Brad Dalton
    Participant

    Are you wanting to remove the post info site wide or only on specific pages?


    Tutorials for StudioPress Themes.

    May 31, 2013 at 5:33 am #43349
    etchattic
    Member

    Just on Specific pages.

     

    Even using a site wide remove it keeps popping up

    June 1, 2013 at 9:50 am #43475
    PhilMurray
    Participant

    Hi Brad

    I tried the solution you listed on your site but it did not work
    Basically I want no post info to show in categories or posts except for one category called latest-news where I do want it to show

    I tried adding this to my functions file

    /** Customize the post info function */

    add_filter( 'genesis_post_info', 'post_info_filter' ); function post_info_filter($post_info) {

                    if ( in_category( '35' ) ) {

                                    $post_info = '[post_date] [post_comments] [post_edit]';

                    }

                    elseif ( in_category( array( 1,45 ) ) ) {

                                    $post_info = '[post_date] By [post_author_posts_link] [post_comments zero="No comments" 1="One comment" more="% comments"] [post_edit]';

                    }

                    return $post_info;

    }

    And specified the correct category IDs but again it didn't have any effect

    Thanks

    Phil

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

© 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