The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to hide the com...
 
Share:
Notifications
Clear all

How to hide the comments entry form for a specific post type?

2 Posts
2 Users
1 Reactions
1,655 Views
Posts: 1
Topic starter
(@astraport)
New Member
Joined: 3 years ago

I have a special type of posts where comments only published programmatically. Therefore, I need to hide the input form for this post type (show only comments), but the other posts have everything as usual.
How to do it?
Thanks.

1 Reply
Asti
Posts: 7354
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@astraport,

If it's separate post type just navigate toΒ Dashboard > Comments > FormsΒ admin page, edit theΒ Default Form,Β disable it for the current post type, save it, delete all caches and press Ctrl+F5 on website front-end.

You can also disable theΒ  β€œAllow Comments” option. This option is located under post/page editor in edit post admin page. Just edit the post and follow these steps:

1) Make sure the β€œDiscussions” admin-box is allowed using β€œScreen Options” in β€œEdit Post” admin page:

2) Find the β€œDiscussions” admin-box below and uncheck the β€œAllow Comments” option.

Reply
Share: