Remove comment notes below the wordpress comment form

If you are using wordpress blog, you must have noticed that there is a default comment note below Comment box which looks like this. 

Remove comment notes below the wordpress comment form

If you like to Remove comment notes below the wordpress comment form, please follow the instructions below.

Calls to comment_form function passes certain default values if there are not specified explicitly. Argument "comment_notes_after" is the one which handles the comment notes which is placed in between the comment form and the submit button. Most strings and form fields may be controlled through the $args array passed into the function.

Lot of readers were asking how to remove comment notes below the wordpress comment form. To remove this note, all we need to do is pass an empty value for "comment_notes_after" argument.

1) Go to your wordpress dashboard and Navigate to Appearance > Editor and look for comments.php file. Click on the file. This comments.php file may be called different depending upon the kind of theme you are using but most of the time it is comments.php.

2) In comments.php file, look for the comment_form() call. It will look like below
<?php
    $args = array('id_submit' => 'submit');
    comment_form($args); 
?>
 

or simply
<?php comment_form(array('id_submit' => 'submit')); ?>

3) Add one more argument "comment_notes_after" to the comment_form() function call like below
<?php
    $args = array('id_submit' => 'submit', 'comment_notes_after' => '');
    comment_form($args); 
?>

<?php
   comment_form(array('id_submit' => 'submit', 'comment_notes_after' => '')); 
?>

4) Save the comments.php file and refresh your blog.

Comment notes should not be seen now. That was how to remove comment notes below the wordpress comment form. Let me know if this was helpful. 



3 comments:

  1. You produced some decent points there. I looked on-line for any problem and found most individuals will go in conjunction with with your site. https://royalcbd.com/product/cbd-roll-on-gel/

    ReplyDelete
  2. Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. ClickFunnels Vs Builderall

    ReplyDelete
  3. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. hire ui designers 11 best freelance

    ReplyDelete