Support » Networking WordPress » Separate Post types for Multisites

  • Hello.

    I cam currently working on a multisite set up for the first time and I see that custom post types are being reflected on both sites. Is there a way to allow each site to only display its own post type?

    For example, I’d like to have ONLY post-type-1, And I’d like to have ONLY post-type-2 available. As it stands now, both post types are on the dashboards for both websites.

    Is this a possibility? My research keeps coming up empty. Thank you in advance for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Multisite uses one WordPress installation to run many sites, each with their own database. But post types are registered during the page request, so they would be visible in all sites by default. To limit it, you would need to check the blog ID before registering the post type.




Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Separate Post types for Multisites’ is closed to new replies.