Jump to content

Changing text of Post Comment Button

Recommended Posts


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



Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now