How to disable comments on new blog post, but allow on new products?

silumantu

Member
Oct 9, 2019
169
23
18
Under the discussion setting, when I uncheck the “Allow people to submit comments on new posts” setting; it is disabling comments on new blog post. But it is also disabling review section of any new woocommerce product.

Is there any snippet so that only new blog post comments will be disabled & not the review of products. Also I know there is a plugin for this, but it will be better if I use a snippet instead of plugin.
 

Latest posts

Forum statistics

Threads
70,172
Messages
916,808
Members
246,812
Latest member
reberasdasd

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu