How to Use WPSiteSync for Custom Post Types
Follow this link for documentation on WPSiteSync for Content.
The WPSiteSync for Custom Post Types (CPTs) add-on needs to be installed on both the Source site that you will be using to synchronize Content, as well as the Target Site that you are using.
To install WPSiteSync for Custom Post Types, you need to upload the Zip file that you downloaded from the wpsitesync.com web site after your purchase. To do this, go to your Plugins -> Add New page. Here, you can see an “Upload Plugin” button next to the title that reads “Add Plugins.” Click on the Upload Plugin button. On the next page, you will find a “Choose File” button. You can click on this and select the file from the File Chooser dialog. Once the file is selected, click on the “Install Now” button and your plugin will be uploaded and installed. On the following screen, select the “Activate Plugin” link and the WPSiteSync for CPT plugin is ready for use.
This process needs to be repeated on both sites.
The WPSiteSync for Custom Post Types add-on requires no configuration for use. It will make use of the existing Settings for WPSiteSync for Content.
Using WPSiteSync for Custom Post Types:
To use the WPSiteSync for Custom Post Types add-on, start by editing any Content on your site. The add-on will recognize all registered Custom Post Types, such as Testimonials, Portfolios, Properties and more. When using the WordPress content editor, you’ll see the same familiar WPSiteSync for Content metabox in the upper right corner of the page, as shown here:
That’s the difference you will see when the WPSiteSync for Custom Post Types add-on is active: the WPSiteSync for Content metabox will appear on all editor pages now, instead of just when you’re editing Posts and Pages.
The operation of WPSiteSync remains the same. You can still Push your content in the same way by clicking on the “Push to Target” button. And if you have the WPSiteSync Pull add-on active, you will also be able to use the “Pull from Target” button.
What Types of Content are Available?
We’ve tested WPSiteSync for Custom Post Types with several other plugins, including WooThemes Testimonials, WP-Property, Custom Post Type UI, Types and Views and others. Any WordPress plugin that creates Custom Post Types using the documented method (registering the CPT via the register_post_type() function) will be recognized by WPSiteSync for Custom Post Types and made available to Content Syncing.
Why Can’t I Sync my Product Information?
Many eCommerce systems create a Custom Post Type called “Products”. Unfortunately, Products are often much more complicated than simple Content and metadata. Because WPSiteSync for Content only knows about the standard WordPress database tables (wp_posts and wp_postmeta) and Product information is stored in other tables, WPSiteSync for Content will not know to look for it. This can cause unexpected behavior since not all of the required information for the Product will be moved between your Source and Target sites. For this reason, we have specifically disabled the product types.
How Do I Sync my Product Information?
We are currently working hard on developing and testing add-ons for WPSiteSync for Content that will understand the additional data used by eCommerce systems in storing Products. Since each eCommerce solution is different, a separate add-on will be provided for the eCommerce system you’re using. We are making add-ons for WooCommerce, EDD, WP eCommerce and others. If you have a favorite eCommerce solution, please let us know so we can be sure to add it to our development schedule.
For information on how to activate the License Key for WPSiteSync for Custom Post Types, please see this article: How to Configure License Keys for WPSiteSync add-ons.