Support » Plugin: Post Type Switcher » [Plugin: Post Type Switcher] Conflict with other plugins

  • Maybe someone has already reported that, but the post type switcher plugin is beaking things when using in conjunction with the following plugins :

    • WP-Help : Plublishing a new Help document doesn’t work, publishes a “post” instead.
    • Advanced Custom Fileds : Plublishing a new Custom Fields Group doesn’t work, publishes a “post” instead.

    I can guess it’s the same thing happening for both, and maybe other plugins, when publishing a plugin specific post type, instread of saving to said post type, it saves to default “post”.

    Hope that helps, and thanks for this very useful plugin 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Great plugin (in principle) but I also had an issue of it changing my ACF post_type to POST.

    I`ve got stuck with this problem too, posts which post types were not public are saved with post type post, instead of the correct custom type.

    In order to make it work with Advanced Custom Fields and (maybe) other plugins, just add these lines to the function save_post, in post-type-switcher.php under /wp-content/plugins/post-type-switcher:

    ...function save_post( $post_id, $post ) {
    		//changed in order to do not change hidden custom post-types
    		if( get_post_type_object($post->post_type)->public == false)

    This worked for me too.
    I think it should be included by default in the plugin.

    I’m having a conflict with WP-Views and CRED; when they create a new post of a custom post type, they are changed to a standard WP post type upon saving. When deactivating CPT, the problem goes away.

    I’ve loved this plugin for a long time, and I really hope this can be fixed, or an alternative plugin be available.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Post Type Switcher] Conflict with other plugins’ is closed to new replies.