Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Samir Shah

    (@solarissmoke)

    CPTs are supported and will appear on the options list.

    The only exception is if you have network-activated the plugin on a multisite installation – in such cases it is not feasible to loop through every site to find out what CPTs are registered.

    The CPT also has to have registered support for comments in order for the plugin to show it.

    Thread Starter Stanislav Khromov

    (@khromov)

    It works, thanks a lot!

    For multisite use, perhaps a well-placed filter would take care of the issue? Like around the $types = get_post_types( $typeargs, ‘objects’ ); call you do in disable-comments.php:

    If we could modify that’ it’d be possible to “hint” which CPT:s are available globally.

    Plugin Contributor Samir Shah

    (@solarissmoke)

    perhaps a well-placed filter would take care of the issue?

    Great suggestion! I will add this to the next release.

    Plugin Contributor Samir Shah

    (@solarissmoke)

    This has been added to version 1.2 of the plugin. Instead of a filter, there is a new field on the settings page that lets you add a list of custom post types on which to disable comments.

    This only appears when the plugin is network activated. For all other cases the custom post types will appear in the list of options.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Post Type support?’ is closed to new replies.