Changing the text of the "reply" button

Community Forums Forums Design Tips and Tricks Changing the text of the "reply" button

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  lostintime 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8012

    lostintime
    Participant
    Post count: 55

    Hi all,

    Not sure whether this is a WordPress or a Genesis question, but can anyone tell me  where I can change the text of the reply button that is displayed under all comments? Is this something that should be  done through a function?

    #8025

    Riavon
    Participant
    Post count: 95

    Add this to your theme’s functions.php file:

    [php]
    add_filter(‘genesis_comment_form_args’, ‘custom_comment_form_args’);
    function custom_comment_form_args($args) {
    $args['title_reply'] = ‘Add your comment’;
    return $args;
    }
    [/php]

    You can change the words Add your comment to whatever you wish it to say.


    Twitter: @riavonentprises

    #8031

    lostintime
    Participant
    Post count: 55

    That’s brilliant Riavon.  Thanks for your help!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Changing the text of the "reply" button’ is closed to new replies.