This Plugin allows you to transfer posts / custom post types and even Divi layouts from one web site to another.
This is how it works:
- Install the plugin Action Scheduler by Automattic on your web site (required for subscriptions).
- If you wish to import Advanced Custom Fields (ACF), you should install the plugin ACF to REST API by Aires Gonçalves on the source web site.
- Get an administrator app password on your source web site.
- Take note of the app password and the user name.
- Install the plugin xm Importer
- In the main menu, go to xm Importer -> Sources
- Click "Add Sources"
- Enter the Name of your source web site into the label Field
- In the field URL, enter the URL of the remote web site
- Enter user Name and WordPress App Password
- Click "Save Sources"
- Go to Settings
- In the field Import Post Typ Mapping, register the post-types, that you wish to import. Use the schema target_slug|sorce_post_type|menu-label Example: post|posts|Posts
page|pages|Pages
article|article|Article
(While pages and posts have a differing source_post_type, custom post types like article usually have a target_slug=source_post_type.)
- Posts per page (pagination) - Here you can choose the amount of Posts displayed on each page.
- Image Register - This option is recommended, as it allows you to maintain an image register and stops wordpress from downloading duplicate images.
- Click on Save Settings.
- Posts overview: In the main menu under xm Importer you should now see menu entries for the post types that you registered. (posts, pages, articles or whatever it is you entered.)
- If you open one of these tabs, you should see an overview of downloadable posts from the source web site.
- You can now mark posts to download and click "Import selected posts" to download them.
- In the menu entry "Subscriptions" you can register post types and categories for frequent downloading (subscriptions).
- To register a category, click "Add entry" and configure the subscription. You can use the method "Sync & overwrite", so that posts stay up-to date. This overwrites existing posts if there is an update.
- If you make changes to a downloaded post on the target web site, the functionality of synchronising and overwriting "Sync & overwrite" is paused. You then have to do a manual update in the posts-overview (Button: "Update available")
- Before a post is overwritten, because you activated the option "Sync & overwrite", a backup of the old post is placed in your trash.
v1.01 - Changed Plugin class, externalized JS code, Added Setting to create Image Thumbnails
v1.02 - Changed function names -> Prefix xmimp_
v1.03 - Changed function names -> Prefix xmimp_
v1.04 - Translation DE added
v1.05 - Possibiity to trash posts from the posts overview added.
v1.06 - Made function to import post Thumbnails more robust
v1.07 - Changed German language file
v1.08 - Updated Subscription Functionality, Downloading an infinite number of posts now, Updated filter of categories in the posts overview
v1.09 - Updated Subscription Functionality again for a faster UI.
v1.10 - Introduced Multi-Source support, updated several UI Displays.