• 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

Genesis Sample Theme and comment-reply-link Modification

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 › Genesis Sample Theme and comment-reply-link Modification

This topic is: resolved

Tagged: reply button, Threaded Comments Reply

  • This topic has 3 replies, 2 voices, and was last updated 11 years ago by Atila.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 11, 2015 at 1:13 pm #165247
    Atila
    Member

    I am trying to modify the "Reply" button on threaded comments, but I just can't figure it out. Going to lose my hair with this one. Does anybody have a solution to this? My site is in Serbian, and our native language is in cyrilic, so I had to translate pretty much everything manually to latin. You can see on the site it says "Одговори".

    http://wpvodic.com/kako-dodati-muziku-na-wordpress-sajt/
    September 12, 2015 at 6:44 am #165274
    Brad Dalton
    Participant

    Add this to your functions file using a code editor:

    function wpsites_modify_comment_reply($content) {
    	$content = str_replace('Reply', 'Custom Reply to this comment', $content);
    	return $content;
    }
    add_filter('comment_reply_link', 'wpsites_modify_comment_reply');
    

    Tutorials for StudioPress Themes.

    September 12, 2015 at 2:19 pm #165306
    Atila
    Member

    Hay Brad... I have already tried that code (wasn't function wpsites but something else) and for some reason it is not working.

    September 12, 2015 at 2:50 pm #165308
    Atila
    Member

    Fixed it. The problem was in language. As I am using Serbian language, for me it says "Одговори" instead of Reply. So, for people that are not using English as a WP language, the word "Reply" should be changed to what it says in their language. For example, here is the modified version of your code that works:

    function wpsites_modify_comment_reply($content) {
    	$content = str_replace('Одговори', 'Custom Reply to this comment', $content);
    	return $content;
    }
    add_filter('comment_reply_link', 'wpsites_modify_comment_reply');

    Hope it will help non-english WordPressers 🙂

  • 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