Archived

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

  • 0

Changing text of Post Comment Button

Question

Posted · Report post

Apologies if this has already been answered elsewhere here but I did do a search and turned up nothing!

 

I'm trying to change the text in my POST COMMENT button...to just POST

 

I know I need to place some code at the bottom of the child theme functions.php file.

 

The question is what though?

 

Something along these lines...i think this will change the comment section title rather than the button at the bottom. How do I modify this to chnage the POST COMMENT button?

 

function comment_reform ($arg) { $arg['title_reply'] = __('Submit a comment:'); return $arg; } add_filter('comment_form_defaults','comment_reform');

 

 

Or is there an easier way to do it?

Many thanks

 

Alex

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

Thanks Simon! Problem solved and thanks for the link also. Alex

Share this post


Link to post
Share on other sites