What Will I Learn?
how to take away WordPress comments from your WordPress web site while not going any traces.
Requirements
First thing you would like to try to to is install and activate the Disable Comments plugin.
Difficulty
- Basic
Tutorial Contents
Upon activation, you would like to go to Settings » Disable Comments page to tack plugin settings.
The settings page is split into 2 sections.
You will fully disable comments everyplace on your WordPress web site otherwise you can by selection disable them on posts, pages, or any custom post varieties.
Select the primary choice to fully disable WordPress comments on your web site.
Don’t forget to click on the save changes button to store your settings.
Disable Comments plugin can currently fully disable comments on your WordPress web site. you'll currently visit any post on your web site to examine it in action.
Since comments won't be displayed, there's no got to delete existing comments. However, if you wish to, then here is the way to simply bulk delete all WordPress comments.
The plugin will take away the comments menu item and every one mentions of comments from your WordPress site’s admin space.
Removing ‘Comments ar Closed’ and Existing Comments in WordPress
Disable Comments plugin removes comment kind, stops displaying existing comments, and even removes messages like ‘Comments ar closed’ from previous posts.
However, if your WordPress theme isn't properly checking the comment standing, then it should still show the comment kind, existing comments, or ‘comments ar closed’ message.
You can raise your theme developer to mend this, as a result of this is often not a customary compliant approach.
Alternatively, you'll conjointly attempt fixing it yourself by following the directions below:
First, connect with your WordPress website victimisation FTP consumer or File Manager in cPanel. currently navigate to your current theme folder which is able to be set in
/wp-content/themes/ folder.
In your theme folder, you need to locate the file comments.php and rename it to comments_old.php
Next, you wish to right click and choose ‘Create new file’ choice in your FTP consumer.
This trick merely serves Associate in Nursing empty comments example to your WordPress theme thus no comments or comment connected messages are going to be shown.
If your WordPress theme doesn't have comments.php file, then you wish to raise your theme developer that file you wish to edit.
Posted on Utopian.io - Rewarding Open Source Contributors
Your contribution cannot be approved because it is not as informative as other contributions. See the Utopian Rules. Contributions need to be informative and descriptive in order to help readers and developers understand them.
You can contact us on Discord.
[utopian-moderator]