• 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 "comments" on post meta

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 "comments" on post meta

This topic is: not resolved

Tagged: comments, post meta

  • This topic has 6 replies, 4 voices, and was last updated 10 years, 11 months ago by RitzyThemes.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 5, 2015 at 3:57 pm #139870
    newedgemarketing
    Member

    Does anyone know how i can remove "comments" from the above post meta - Data, Author, Comments - I want to remove comments only.

    ideally with css if possible!

    http://www.newedgemarketing.com.au/
    February 5, 2015 at 5:36 pm #139880
    damonjordan
    Member

    You can simply turn the ability to make comments off in the Settings->Discussion menu. Is that what you mean?

    February 5, 2015 at 9:05 pm #139903
    newedgemarketing
    Member

    Hi No its not sorry for the confusion at the top of my posts under the heading it states, Data, Author and Comments

    I don't want to see comments as in the word and link

    I want my comments on which are displayed below my posts

    February 6, 2015 at 1:10 pm #139958
    Carolyn
    Participant

    Hi -

    This might help. In your functions.php (make a backup before editing!) Look for something like this

    //* Modify the comment link text in comments
    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter( $post_info ) {
    	return '[post_date] By: [post_author][post_comments zero="comment" one="1 Comment" more="% Comments"]';
    }

    And remove the portion that pertains to comments so you'd have

    //* Modify the comment link text in comments
    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter( $post_info ) {
    	return '[post_date] By: [post_author]';
    }
    February 7, 2015 at 4:48 pm #140055
    Carolyn
    Participant

    Hey there -

    I just reread your question. It can be accomplished by CSS. Add

    .entry-comments-link{
    	display:none;
    }

    To your style.css

    February 9, 2015 at 8:08 pm #140279
    newedgemarketing
    Member

    Perfect Thank you Carolyn

    February 10, 2015 at 4:43 am #140310
    RitzyThemes
    Member

    But i prefer the php code approach.


    Get free and premium Genesis Child Themes

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