Comments form

I am looking for away of changing the comments or discussion title line from, “Leave a Reply” to something else. how can i do this?

I would also like to change the text of the post comment button.
www.jesusinbrum. co.uk

Hi,

You can change the comment form title and button by adding new code to the comments.php file. I recommend you to create a child theme first before made some changes.

And to resolve this, you can follow the steps below:

  1. open comments.php file
  2. change this line:
<?php 
  $args = array(
    'comment_notes_before'  => '',
    'comment_notes_after'  => '',
  );
  comment_form($args);
?>

to:

<?php 
  $args = array(
    'comment_notes_before'  => '',
    'comment_notes_after'  => '',
    'title_reply'  => 'YOUR COMMENT TITLE',
    'label_submit'  => 'YOUR BUTTON COMMENT LABEL',
  );
comment_form($args);
?>

That’s it. You can also to read the reference here https://codex.wordpress.org/Function_Reference/comment_form

Regards,
Awan

Thankyou, what do I edit to remove the “one thought on” the page title text

It still on comments.php.

you can find it on this line:

<?php
printf( _nx( ‘One thought on “%2$s”’, ‘%1$s thoughts on “%2$s”’, get_comments_number(), ‘comments title’, ‘moesia’ ),
number_format_i18n( get_comments_number() ), ‘<span>’ . get_the_title() . ‘</span>’ );
?>

Please to only change the text which I marked as bold only.