You may need to duplicate a connection to change only a few settings, or to export and import it from one of your sites to another, etc. Here’s how to do it.
Duplicate a connection
Connections created by our plugins are Custom Post Types, so it is possible to use a plugin to duplicate them.
You can use one of the following plugins, making sure the plugin allows duplication of CPTs:
- Yoast Duplicate Post
- Duplicate Page and Post
- Duplicate Post, Page, and Any Custom Post
- Duplicate Post Page Menu & Custom Post Type
- Duplicate Pages, Posts, and CPT
- Clone Post
- Les Content Duplication module of WPMasterToolKit (WPMTK) – All in one plugin
Example with Yoast Duplicate Post
- Install the Yoast Duplicate Post plugin and activate it.
- Go to the plugin’s settings page by clicking on Settings > Duplicate Post in the menu.
- Dans le cadre de la What to copy tab, leave the default options as they are.
- Dans le cadre de la Permissions tab, check the Connexions option.
- Save your settings by clicking the Save changes bouton.
- Navigate to the connections page of your plugin (AWPS, NWPS, or AWPS for WooCommerce) via the All Connections submenu.
- Hover over the name of the connection, then choose either Clone ou New Draft to duplicate it.
- Modify the connection settings as needed, then publish it to use it.
Export connections
To export your connections:
- Use the native WordPress export tool by going to the Exportation page via the Tools > Export menu.
- In the list, check the Connexions option.
- Then click the Download Export File bouton.
- Choose a location and name for the file, then click the Économiser bouton.
The generated XML file contains all the information about the connections created with our plugins. You can use this file for importing.
Import connections
To import your connections:
- Install the WordPress Importer plugin by going to the Importation page via the Tools > Import menu.
- Cliquez sur le bouton Installer maintenant link in the WordPress section. The WordPress Importer plugin will be installed.
- Cliquez sur le bouton Run Importer link in the WordPress section. The plugin will be automatically activated, and you can select the file to import by clicking the Choisir un fichier bouton.
- Navigate to the correct location and select your XML file, then click the Open bouton.
- Once the file is selected, click the Upload file and import bouton.
- Create a new user or assign an existing user from the list for the content to import, then click the Submit bouton.
The connections will then be imported with their settings, and you will find them on the All Connections page of your plugin.
You are now able to manage your connections, by duplicating them or by performing exports and imports.