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

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

2 Posts
2 Users
1 Reactions
2,342 Views
Posts: 1
Topic starter
(@astraport)
New Member
Joined: 5 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: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 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: