MainWP Custom Post Types Extension
Write custom post type content and WooCommerce products once and publish them to the child sites you pick.
Publish products and other custom post types to many sites at once
The MainWP Custom Post Types Extension is a Pro MainWP add-on that lets you publish, edit and delete custom post type (CPT) content on your child sites, including WooCommerce products. You write a CPT post once on your MainWP Dashboard, pick the child sites, and publish it, then find and manage existing CPT posts from the Manage Posts page.
Adding the same content site by site
Adding a product, a testimonial or a portfolio entry to several sites means logging in to each one, and logging in again to edit or remove it. The MainWP Custom Post Types Extension has you register the same CPT on your Dashboard once, then create, edit and trash that content on your child sites from there.
Features
The MainWP Custom Post Types Extension works with the CPTs your child sites already use, from a matching CPT on your Dashboard.
| Feature | What it means for you |
|---|---|
| Publish CPT posts to child sites | The Add New screen for each matching CPT gets a Select sites box. Enter the title, content and metadata, choose the child sites, and publish. |
| Works with the CPTs you already have | Manage a CPT whether a plugin, a snippet in functions.php or the theme registered it on your child sites, once you register a matching CPT on your Dashboard. |
| Custom Post Types overview | The extension’s Custom Post Types box lists every CPT registered on your Dashboard, with an Add New button for each. |
| WooCommerce products | Install WooCommerce on your Dashboard site and the extension adds support for Products on its own, including variable products. |
| CPT posts in Manage Posts | Search CPT posts across child sites from Sites > Content Operations > Manage Posts, filtered by post type, status, keyword and date range. |
| Edit, view, trash and delete | Use the Edit, View and Trash actions on any found CPT post, or the Bulk Actions menu to trash several at once. Posts in Trash get a Delete action. |
| Update posts on several sites | Edit a CPT post you published through your MainWP Dashboard, select the child sites, and click Update to change it on all of them. |
| Boilerplate tokens in custom fields | Use MainWP Boilerplate Extension tokens in a CPT post’s custom meta fields. |
Requirements
The MainWP Custom Post Types Extension needs the same CPT on your MainWP Dashboard and your child sites, plus the Classic Editor plugin on both.
| Item | Requirement |
|---|---|
| License | MainWP Pro |
| MainWP Dashboard | The MainWP Custom Post Types Extension installed on your Dashboard site |
| Matching CPT on your Dashboard | The same CPT registered on your Dashboard site, with the same slug, plural label and singular label as on your child sites. Register it with a code snippet in functions.php or a plugin such as Custom Post Type UI or Pods. |
| Classic Editor | The Classic Editor plugin installed on your Dashboard and on all child sites |
| Child sites | The CPT already registered on each child site, by a plugin, a snippet or the theme |
| WooCommerce products (optional) | The WooCommerce plugin installed on your Dashboard site |
Setup: match the CPT, then publish and manage
The MainWP Custom Post Types Extension needs one matching CPT on your Dashboard before you publish or manage its posts.
Register the matching CPT on your Dashboard
- Install the Classic Editor plugin on your MainWP Dashboard and on all child sites.
- Note the CPT’s slug, plural label and singular label on your child sites. For example, a Movies CPT has the slug movies, the plural label Movies and the singular label Movie.
- Register the same CPT on your Dashboard site with a code snippet in functions.php, or with a plugin such as Custom Post Type UI or Pods. For WooCommerce products, install WooCommerce on your Dashboard site instead.
- Check the WP Admin menu: a MainWP icon next to the CPT’s link means it is ready to manage through your MainWP Dashboard.
Publish a CPT post to child sites
- Go to MainWP Dashboard > Add-ons > Administrative > Custom Post Type.
- Find the CPT in the Custom Post Types box and click Add New.
- Enter the post title, content and metadata, and select the child sites.
- Click Publish.
Find and manage existing CPT posts
- Go to MainWP Dashboard > Sites > Content Operations > Manage Posts.
- In the Search Options, use Select post type to target the CPT, and set any status, keyword or date range filters.
- Select the child sites and click Show Posts.
- Use the Edit, View or Trash action in a post’s actions menu, or select several posts and use the Bulk Actions menu.
Full instructions for registering CPTs and managing CPT posts: MainWP Custom Post Types Extension documentation.
Custom Post Types FAQ
Does it work with WooCommerce products?
Yes, the MainWP Custom Post Types Extension publishes WooCommerce products, including variable products, to your child sites. Install the WooCommerce plugin on your Dashboard site and the extension adds support for Products automatically.
Which custom post types can I manage?
The MainWP Custom Post Types Extension manages any custom post type that already exists on your child sites, whether a plugin, a snippet in functions.php or the theme registered it. Register a matching CPT on your MainWP Dashboard site, and the extension can manage that CPT’s content.
What makes a CPT on my Dashboard match the one on my child sites?
For the MainWP Custom Post Types Extension, a CPT matches when the slug, plural label and singular label are the same on your Dashboard and your child sites. For a Movies CPT with the slug movies, the plural label Movies and the singular label Movie, register a CPT with exactly those three values on your Dashboard site.
Do I need the Classic Editor plugin?
Yes, the MainWP Custom Post Types Extension needs the Classic Editor plugin installed on your MainWP Dashboard and on all child sites.
