tutorial Delete all Comments from your WordPress

in #utopian-io6 years ago (edited)

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.

1.png

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.

2.png

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.

3.png

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

4.png

Next, you wish to right click and choose ‘Create new file’ choice in your FTP consumer.

5.png

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

Sort:  

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]

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 64544.47
ETH 3417.27
USDT 1.00
SBD 2.48