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. 



0 comments