WordPress.org

Ready to get started?Download WordPress

Forums

Convert FROM Multisite, Cannot edit Custom Post Types (4 posts)

  1. Travis Smith
    Member
    Posted 2 years ago #

    Using WordPress 3.4.1, I recently converted from WordPress Multisite to a Normal WordPress (dumping the subsites in favor of the main site) install by removing the MultiSite code from wp-config.php or simply defining the constants as false.

    define('WP_ALLOW_MULTISITE', false);
    define( 'MULTISITE', false );

    However, when I do this on the main site, the administrators cannot edit posts of custom post types. They can edit posts and pages, but they cannot edit their custom post types. They all take the standard, default capabilities (post), capability types, maps, etc.

    Any help here would be fantastic!

  2. How did you add the CPTs to the site?

    Is it in your theme or in a plugin or an mu-plugin...?

  3. Travis Smith
    Member
    Posted 2 years ago #

    Registered them in a core functionality plugin. Simple one file plugin.

  4. Can you share the code on Pastebin?

    I ask because there are a lot of ways to do it with Multisite if you don't want your CPTs to show on all sites, and sometimes you have to un do that to go back to Single Site.

    My guess is that you still have some Multisite Specific code in there.

    (Personally I have a site-cpt.php file, sitting in /mu-plugins for my single sites)

Topic Closed

This topic has been closed to new replies.

About this Topic