Custom Post Types Extension is an extension for the MainWP Plugin that allows you to manage almost any custom post type on your child sites and that includes Publishing, Editing, and Deleting custom post type content.
Custom post types are nothing more than a basic post but have different sets of parameters defined inside your code. Probably, you have been able to see Products, Testimonials, Features, Projects, or similar items in your WordPress Sites and thought that it would be cool if you could manage these from your MainWP Dashboard.
Why do you Need This Extension?
With the MainWP Custom Post Types Extension, you will be able to manage almost any custom post type on your child sites, including WooCommerce Products. With this extension you can easily:
Publish new custom post type to your Child Sites
Unpublish custom post types on your Child Sites
Edit custom post types on your Child Sites
Delete custom post types on your child Sites
See it in Action!
Movies CPT Example
WooCommerce Products and Coupons Example
Extension Version: 1.1
Extension Last Update: 05-19-2017
MainWP Dashboard Requirement: 3.4 or later
MainWP Child Requirement: 3.4 or later
WordPress Requirement: 3.9 or later
WordPress Tested Up To Version: 4.9.4
To be able to post custom post type (CTP) on your child sites, you need to have the matching CPT registered on your dashboard site. To register a CPT on your dashboard site, you can use a 3rd party plugin or custom code snippet (Function Reference / register custom post type)
Quick Start Guide
What is a Custom Post Type (CPT)?
Custom post types are nothing more than a basic post but have different sets of parameters defined inside your code. The post type of regular posts is post, pages use page, attachments use attachment and so on.
How this Extension Works?
MainWP Custom Post Types extension allows you to manage custom post types on your child sites. In order to manage custom post type on your child sites, you need to have the matching CPT on your dashboard too. Once you register the same CPT on your dashboard site, this extension will add the “Select Sites” metabox to the Add New Item interface and it will allow you to control where do you want to publish this CPT content and support for that CPT will be added to the Manage Posts section, so you will be able to search for CPT posts.
MainWP Custom Post Types extension DOES NOT register CPTs on your child sites. It only allows you to manage existing CPTs. In order to properly use it, you need to have the same CPT on your Dashboard and Child Site(s)!
It doesn’t matter if a CPT on your child sites has been created by a plugin, registered with a snippet in the functions.php or added by your WordPress Theme, this extension will be able to manage it as long as you are able to create the Matching CPT on your dashboard site.
What is Matching CPT?
There are 3 required arguments for each CPT:
CPT Plural Label
CPT Singular Label
If all 3 are in the match, you can say that you have matching CPTs.
Let’s review the example of the Movies CPT.
On your child site(s) you have Movies CPT (Slug: movies, Plural Label: Movies, Singular Label: Movie). To be able to manage this CPT from your dashboard, you need to create the same CPT your dashboard site.
In case you want to use this extension to publish WooCommerce Products to your child site(s), it is enough to install the WooCommerce plugin on your dashboard site. The extension will automatically create support for Products.
How to Register Custom Post Types on your Dashboard?
To do this, you have 2 options:
Create a code snippet and add it to the functions.php
Use one of 3rd party plugins to register CPTs on your dashboard site