Jump to content

Archived

This topic is now archived and is closed to further replies.

lexlex88

Change "Leave a Reply" text on Comments

Recommended Posts

lexlex88    0
lexlex88

I've figured out how to change the text in the meta bar, but how can I change the standard text on the comments sections? 

 

I would like to change "Leave a Reply" to "Leave a Review".

 

example page: http://designsqr.com/design/plank/

 

Thanks!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

You can do this by using a child theme or the customize plugin and adding the following code to the functions.php file within your child theme or customize plugin (Do not edit the functions.php file in the DMS directory).

 

add_filter('comment_form_defaults','my_comment_text');
function my_comment_text ($arg) {
$arg['title_reply'] = __('Add your replacement text here');
return $arg;
}
 
In the code above, where you see Add your replacement text here, edit this and add what you like.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
lexlex88    0
lexlex88

Thanks Danny! 

 

It didn't work for me, but I realize that is because I have "Jetpack Comments" activated. I realized Jetpack Comments lets you change this text by simply going to settings, discussion and editing the "greeting text" to whatever you'd like. 

 

Sorry about that. 

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Thanks for letting us know 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • MissT
      By MissT+
      Does the magazine section not support comments?  I have comments allowed but they aren't showing on post pages and there doesn't seem to be a way to add a comments section in either.
      Many thanks in advance.
    • photomom86
      By photomom86+
      I have installed and activated the disqus comments plugin and no matter what I do the comments will not show up on my posts. Is this a know glitch with disqus and pagelines?
    • Jason J
      By Jason J
      Hello all,
      I realize there's a chance that this super-basic question is going to make me look foolish, but I can't find a setting for it.
      Most blogs I come around allow people to reply to a specific comment (there's a reply link for each comment as opposed to just one reply at the bottom of the comment list).
      On a blog I manage that's using Pagelines (and foolishly not a child theme), there's no such reply link for each comment, only one at the bottom of the page.  I thought maybe there was a comments setting somewhere that would enable "in-line" commenting, but I couldn't find one.
      Am I overlooking something very basic, or is it a matter of adjusting the theme code to allow this?
      Thanks in advance,
      -jason
    • rrosewarne
      By rrosewarne
      Hi
      The comments on blog posts isn't working? it used to but now if you click the 'leave comment' link it goes to the bottom of the page and there is no comment box
      http://www.rosewarnegardens.com/the-joys-of-a-qualified-horticulturalist/
    • erin-wsk
      By erin-wsk
      I'm not sure if this is something that can easily be done, but I'm looking to move the respond section above the actual comments (when a post gets 100+ comments, it can be cumbersome to scroll through all of them to just respond). I've tried creating a custom section but the comment code is a bit engrained in the DMS theme- I'm not sure it can easily pulled out an made into a tidy section. Any thoughts or points in the right direction would lovely. 
×