By default every post and page has comments section at the bottom including: the comment form with title “Leave a Reply” and section to display existing user comments. While this format looks good for usual blog layout, WordPress users wanting to give ‘website’ look may want to get rid of “Leave a Reply” comments section below every content article posts and pages.
I. Quick edit method to remove Comments section
If you only have handful of posts and pages on your WordPress website that should NOT have comment form at the bottom, then using “Quick Edit” option to remove “Leave a Reply” comments section is a recommended method.
1. In your WordPress dashboard, goto Posts > All Posts. Hover mouse over specific post and then click “Quick Edit” option. In the expanded options set, click to uncheck (no tick) “Allow Comments” option and then click “Update” button.
2. Now preview that post, it should appear fine without the comments section. Similarly, you can disable and remove comments section for other posts and pages using above method. If the comments section still appear even after disabling the above feature, then you can use manual code method – which for sure will remove comments section.
Video: How to Hide Comments box under WordPress posts
II. Manual code editing to remove Comment section
1. In WordPress dashboard, goto Appearance > Editor to access your WordPress theme files. On the right side you should see listing of all theme files. Click to open the “single.php” file.
2. In single.php file look for the following code:
comments_template( '', true );
We need to disable execution of this code to remove Comments section from WordPress website. Just add // in front of this code to disable it, as seen following:
//comments_template( '', true );
Incase you want to revert back to display of Comments section on your WordPress website, just remove // from the above code.