Support » Plugin: Custom Content Type Manager » [Plugin: Custom Content Type Manager] Registering custom post types if plugin is not working

  • Hi! First of all thanks for the great plugin!
    I noticed that when one deactivates it, the custom post types are no longer working on the site.

    I noticed they are still however stored on the wp_options table.

    What code should I put in a functions.php theme file to register the custom post types generated by the plugin if/when (God forbid) the plugin is not working?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor fireproofsocks


    Correct: deactivating the plugin leaves its options in the wp_options table. Deleting the plugin will cause it to clean up after itself.

    As for adding functions… you can’t really do that… to do all that work you’d basically require the entire plugin. There is apparently a lot of confusion as to how WP handles custom post types since this is one of many similar questions I’ve gotten: you have to register each custom post type,otherwise WP doesn’t know anything about it. And the registration takes on a lot of details to describe the behavior, so it’s no something you can quickly bang out… you have to write a lot of code tied to various actions working together in order for it to work — the process goes all the way to the WP core, so adding a little function to your theme’s functions.php file is sorta like cutting off your arm then putting a bandaid on the bloody stump.

    When there are bugs with the plugin, file a bug report.

    Thanks for the reply. I’ve been delving into the docs to understand all this. I now see and appreciate how much this plugin adds to the WordPress functionality, and, on the other hand, how far WordPress still is from being a complete content management tool for end users.

    I’m sure though WordPress will keep on developing fast and incorporating more needed tools soon.

    Thanks again for the great work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Content Type Manager] Registering custom post types if plugin is not working’ is closed to new replies.