• 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

Metro Comment Links

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 › Metro Comment Links

This topic is: resolved

Tagged: comment link, Metro, snippits

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 3 months ago by Erica Mueller.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 9, 2013 at 12:14 pm #55288
    Erica Mueller
    Member

    Using the snippit found here: http://my.studiopress.com/snippets/comments#comments-link

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

    I have tried to modify the comment link above posts in the Metro theme and it's not doing anything. I want to have just numbers, no words. As you can see, I've tried editing the snippit code to what you see below, and even added a word for single comments just to test it. Still showing the default...

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

    Link to my sandbox where I'm working on this...
    http://technomomdesigns.com/sandbox2/post-with-horizontal-image-2/


    WordPress Manipulator

    http://technomomdesigns.com/sandbox2/post-with-horizontal-image-2/
    August 10, 2013 at 5:18 pm #55555
    Erica Mueller
    Member

    Anyone?


    WordPress Manipulator

    August 20, 2013 at 11:01 am #57596
    Erica Mueller
    Member

    Still wondering if anyone knows the answer to this?


    WordPress Manipulator

    August 20, 2013 at 12:35 pm #57616
    Brad Dalton
    Participant

    Deactivate the Genesis Simple Edits plugin.


    Tutorials for StudioPress Themes.

    August 20, 2013 at 1:28 pm #57639
    Erica Mueller
    Member

    Ha! That did it! Thank you so much!


    WordPress Manipulator

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Metro Comment Links’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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