• 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

Change "Leave a Comment" text

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 › Change "Leave a Comment" text

This topic is: not resolved

Tagged: .post-info, comments, featured widget amplified, simple edits

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 2 months ago by wpspeak.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 22, 2013 at 8:20 pm #13958
    emilywhitedesigns
    Member

    I am trying to change the text for "Leave a Comment" to a Spanish translation. I am using the Genesis Featured Widget Amplified plugin for my homepage and have set it to show "post info". I am also using Simple Edits and have moved my comments link from "post meta" to "post info".

    I've already tried this code and it doesn't work.

    /** Modify the comment link text */

    add_filter( 'genesis_post_meta', 'post_meta_filter' );
    function post_meta_filter( $post_meta ) {
        return '[post_comments zero="Leave a Comment" one="1 Comment" more="% Comments"]';
    }

    I believe it isn't working because of some conflict with either Simple Edits or Featured Widget Amplified. Any suggestions?

    January 25, 2013 at 7:47 pm #14926
    wpspeak
    Member

    The code you use only works for the blog loop.

    If you're using the Featured Post amplified plugin, you can change it from the widget settings. Just edit the post info and post meta field. Well, to do that you can use the Genesis shortocode.

    Ref: http://my.studiopress.com/docs/shortcode-reference/

    When you use the Featured Post Amplified plugin, once you tick on the "Show Post Info" or "Show Post Meta", another field will automatically showing up below them few seconds after that (it won't refresh your page) and you'll see they will be auto populated with some shortcodes.

    You'll need to edit/delete/change the shortcodes. Please refer to the link I provided above.


    WP Speak | Help the Awesome #Genesiswp Community

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