Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

Custom Post Type Supports Comments but Shouldn’t

$
0
0

Replies: 0

I registered a custom post type via the register_post_type function. The post type supports

'supports' => array( 'title', 'editor', 'thumbnail', 'revisions' ),

For some reason, the posts have the discussion and comment meta boxes in the editor even though they shouldn’t. I even tried using the ‘remove_post_type_support’ hook to remove comment support to no avail. I already tried testing the twenty-sixteen theme. I have no idea how this is possible. Any ideas? Thanks for any help!


Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>