Disable Comments Automatically After Specific Number Of Days

WordPress, being as CMS, let’s you create blog post in your site, along with the ability for the user comments. But, what if you want to enable the comments for the posts created in your site to be disabled after specific number of days? Well, WordPress has covered up on this too for you. Here, we will learn about how to disable comments automatically after specific number of days.

Why To Disable Comments Automatically On Posts After Specific Number Of Days?

What if you are creating the posts for your site for information purpose only, where you may want to enable the comments, but, after some days or maybe weeks, you do not want to follow that article with comments. Well on this case, you may want to disable comments automatically on posts after specific number of days.

Now, after knowing the basic on why to disable comments automatically in WordPress, let’s move ahead and learn about how to disable comments automatically after specific number of days in WordPress, shall we?

How To Disable Comments Automatically On Posts After Specific Number Of Days?

For this, first of all, you need to visit Settings->Discussion section via your WordPress dashboard. Now, after visiting there, you can see the same result on this as the below screenshot:

Here, in the above screenshot, you can see that we have marked up several settings with boxes. So, for the posts to have disabled comments after specific number of days, you just need to put the checkmark on the checkbox options of: Automatically close comments on articles older than [option] days option under the Other comment settings section. Also, here in this checkbox option, you have the option of adding specific number of days to close the comments for the posts/pages created in your site.

Now, after you have added the checkmark on the checkbox option and filled the number of days within this option, now, after that days is passed, the posts and pages added in your site will close the comments on those automatically after that specific date.

Output Of Disable Comments Automatically After Specific Number Of Days In WordPress

If you have followed this tutorial along with ease then, you will see similar result as the below screenshot after the certain time period is set in Discussion Settings:

You may also want to read:

  1. Disable Comments For Future Posts In WordPress
  2. Extend Customizer Options To Include Radio Image Option
  3. How To Add Header Image Support In WordPress
  4. Integrate Bootstrap NavBar 4 Into WordPress Theme
  5. Apply Custom CSS Code In Your Site Via Inspect Element

Conclusion

If you have followed up the tutorial properly and now can disable comments automatically after specific number of days in WordPress with ease then, we can say that you are now more familiar on this than before. However, if you are still confused on the same and want to know more about it then, do drop the comment below in the comment box and we will follow it up.

Post navigation

Bishal Napit

Bishal Napit is a WordPress theme developer from Tansen, Palpa, with a passion to learn more on WordPress.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.