treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] change default text

  • Hello,

    The default text for this is "reply". I need to change it and im not sure how to.

    <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>


    I would like it to say answer. Thanks for any help
  • <?php comment_reply_link(array_merge( $args, array('reply_text' => 'Answer', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>


    See if that works?
  • unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')'
  • In my initial post, I accidentally left out an apostrophe. I had to edit it and you already replied, can you copy it over one more time?
  • Awesome.. thanks for the help! much appreciated.