Do you want to know how to remove “comments are closed ” text from the end of your posts and pages? You are in the right place. This tutorial will help you to resolve this issue.
The “comments are closed ” message usually appears after disabling the WordPress comments on your site. However, it totally depends on the theme you are using. If you use premium themes like the ‘Genesis Framework’ and child theme from StudioPress, this message will not appear after disabling comments. Anyway, if you want to remove “comments are closed” text, follow this article to the end.
How To Remove “Comments are Closed” Text from WordPress Posts and Pages
There are many ways to do it. The easiest way to do it by using using the following CSS code. Follow the steps below.
1. Login to your WordPress dashboard.
2. On your WordPress admin panel, navigate to Appearance >> Customize and then open the ‘Additional CSS’ box. It usually appears below the theme customization options. If you don’t find where to add extra CSS, either check your theme documentation or contact with your theme support team.
3. Open your ‘Additional CSS’ box and paste the following code. Don’t forget to click on the ‘Publish’ button to save the CSS code. It will remove “comments are closed” text from the end of your posts and pages.
.nocomments {
display: none;
}
We hoped that it will resolve your issue. If your issue is not still resolved, let us know in the comment box below.
The other way is by editing the ‘comments.php’ file of the theme. It is only recommended for advanced users. If you are a beginner, we don’t recommend to edit your comments.php file. It is better to ask your theme developer to resolve this issue.
Recommended Reading: