Export and Import Popups Between Sites
Overview
Avoid Name Collisions Between Popup Themes
Important! Avoid theme name collisions on the target site by renaming any customized popup themes on the source site before they are exported. Use the 'Quick Edit' menu located beneath the popup theme title to rename the title and slug name.
If you are reading this article after importing popup themes, and the customized themes were not renamed beforehand, read the section below 'How to Resolve Duplicate Popup Theme Names and Option Settings' to resolve theme name collisions.
Download the Export Files From the Current Site
Open the WordPress Admin of the site that contains the popups you intend to export.
1) Open the 'Tools' admin menu;
2) Select 'Export' admin submenu;
3) Select the 'Popups' radio button. Then select the button labeled 'Download Export File'. An XML file with the following name will download:
{site-name}.wordpress.{yyyy-mm-dd}.xml
The download contains only the data for the popups on your site. Popup Themes must be exported separately.
4) To export the 'Popup Themes', select the radio button for that option and select the 'Download Export File' button a second time.
Import the Download Files to a New Site
Open the WordPress Admin of the new site where the export data will be uploaded.
1) Open the 'Tools' admin menu;
2) Select the 'Import' admin submenu;
3) Select the 'Install Now' link under the WordPress option. WordPress will redirect to an 'Import WordPress' option page.
Select the button labeled 'Choose File'. Upload the exported Popup Maker XML files from your computer one at a time. If both the popups and popup theme files were exported, each file must be imported separately.
How to Resolve Duplicate Popup Theme Names and Option Settings
If you import popup themes from a source site without renaming them before export, you are likely to encounter a duplicate set of theme names on the target site. This can be resolved as follows:
1) Open the Popup Theme admin page on the target site (the site that received the import file). From the WordPress admin, go to: 'Popup Maker' >> 'Popup Themes'.
2) Focus on the first popup theme name, and select the 'Edit' link.
3) Inspect the URL in the browser address bar. Look for the post ID query string in the URL. For example:
http://pumtest.local/wp-admin/post.php?post=18&action=edit
includes the query string ?post=18
. This means the popup theme has an ID of 18 in the database. Note this value.
4) On the same page, open an imported popup theme with a duplicate name that matches the previous theme title. Note the post ID of this theme. The post ID of the imported theme should be greater than the originally installed theme because the imported theme was added later.
5) To distinguish between the original and duplicate popup theme, rename the title and slug name of the imported theme. Select 'Update' to save your changes.
6) Repeat steps 3, 4, and 5 with any additional duplicate named themes you are interested in using.
Open the Popup Editor and go to the Popup Settings box (located below the content editor). Go to:
Display (tab) >> Appearance (category) >> Popup Themes (menu).
The renamed popup themes will now appear in the drop-down menu.