• 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

problem with comment link

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 › problem with comment link

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 13 years, 7 months ago by lizje.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 24, 2013 at 3:29 am #30838
    lizje
    Member

    I have a problem to translate leave a comment in dutch. When I use the snippet:
    /** Modify the comment link text */
    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"]';
    }
    in functions.php of the prose theme I lost the date en author. Who can help me?

    March 24, 2013 at 12:20 pm #30930
    Brian Bourn
    Member

    You need to add back the the other shortcodes. Try this:

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

    http://my.studiopress.com/snippets/post-info/


    Bourn Creative | bourncreative.com | Twitter

    March 24, 2013 at 1:38 pm #30948
    lizje
    Member

    Brian, thank you very much 🙂

  • 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