SynapseWP Content Transfer for Elementor

Description

SynapseWP Content Transfer for Elementor replaces Elementor’s “save as template export template import template insert into page” routine with a single click. It works for pages, posts, custom post types and Elementor templates.

  • An Export row action on the Pages, Posts, custom post type and Elementor Templates screens: one item, one JSON file.
  • An Import button next to “Add New” on the same screens, and Tools Import Elementor Content. Every item in the file is imported, so files with several items work too.
  • Categories, tags and custom taxonomy terms come across; missing ones are created.
  • Elementor templates keep their template type.
  • Images are imported into the Media Library and every reference is rewritten.
  • Source site URLs are replaced with this site’s URLs.
  • Element IDs are regenerated.
  • Elementor CSS is regenerated after import.
  • Warnings after import point out anything that didn’t transfer cleanly.
  • Gutenberg and classic pages and posts export and import too, alongside Elementor content.
  • Requires the free Elementor plugin, which WordPress 6.5 and later checks for on activation.

Nothing is stored on the server during export: the file is streamed straight to the browser.

Content Transfer Pro for Elementor

Content Transfer Pro for Elementor is a separate, paid add-on sold on synapsewp.com. It adds bulk export from list screens, .zip files with bundled media, an import preview with per-item conflict handling, snapshots before overwrite, author matching, global Kit mapping and site-to-site push. This plugin is complete without it, and nothing in it is locked or limited.

Documentation · Support forum

Not affiliated with Elementor

Not affiliated with or endorsed by Elementor. SynapseWP Content Transfer for Elementor is an independent plugin by SynapseWP. “Elementor” is a trademark of its owner and is used here only to describe compatibility.

Import options

Every item in the file is imported, in one go.

  • Mode: create new items (default; each item’s post type comes from the file), or overwrite an existing item with a one-item file. Overwrite keeps the target’s URL, parent and author.
  • Status: Draft (default; an overwritten item keeps its status) or the same as exported.
  • Import images into Media Library (default on). Images already in this site’s Media Library are reused, and images imported earlier are not downloaded again.
  • Replace source site URLs (default on). Handles http and https, and both plain and JSON-escaped (https:\/\/) forms. URLs are only replaced at a URL boundary, so example.com never rewrites example.com.au.

Warnings after import

Warnings never block an import. They cover:

  • A different Elementor or Elementor Pro version from the source site.
  • Pro widgets while Pro is inactive, and widgets from add-ons that aren’t installed.
  • Containers while the Container feature is off.
  • Things that point at IDs on the source site: Template, Global and Loop widgets, [elementor-template] shortcodes, forms, menus, dynamic tags, and global colours/fonts (__globals__).
  • Images that failed to download.
  • Page templates that don’t exist here.
  • Missing taxonomies.

Security

  • Export requires edit_post on each exported item.
  • Import requires permission to create the item’s post type (for example edit_pages for pages, edit_posts for posts), plus upload_files for images.
  • Import is refused without unfiltered_html, because Elementor HTML widgets can contain raw HTML and JavaScript.
  • Every action is protected by a nonce.
  • Uploads must have a .json extension and a text or JSON MIME type, and the temporary file is deleted after reading.
  • The file is parsed as JSON only. Nothing is ever unserialized or executed.
  • Meta is written only for string keys, and the meta blocklist is applied on import as well as on export.
  • The page template is applied only if this site actually offers it.
  • Images are downloaded with download_url(), which refuses private and loopback addresses, and only from the host of the site the file was exported from.

External requests

The plugin does not contact SynapseWP or any third-party service, and collects no data.

When you import a file with “Import images into Media Library” turned on, your site downloads each image from the URL recorded in the file. That is normally the Media Library of the site the page was exported from. Only the image files are requested, and nothing about your site is sent to them beyond a standard HTTP request.

Hooks for developers

Filters:

  • synwp_ct_supported_post_types — post types that get the export and import actions (default: every post type with an admin UI, except media, revisions, menu items and Site Editor types).
  • synwp_ct_meta_blocklist — extra meta keys to never transfer.
  • synwp_ct_max_upload_size — maximum import file size in bytes (default 20 MB, capped by the server limit).
  • synwp_ct_export_payload( $payload, $posts ) — the export file contents before they are encoded.
  • synwp_ct_export_page( $entry, $post ) — one export entry. Add-on data goes under $entry['extensions'][ $slug ] and is passed through on import.
  • synwp_ct_import_page_data( $page, $options, $context ) — a page before it is imported.
  • synwp_ct_import_postarr( $postarr, $page, $options, $context ) — post fields before the post is created or updated.
  • synwp_ct_import_options_fields( $options, $payload ) — the import options read from the import form.
  • synwp_ct_import_button_url( $url, $post_type ) — where the Import button on list screens points.
  • synwp_ct_media_allowed_hosts( $hosts, $urls ) — hosts images may be downloaded from (default: the source site).
  • synwp_ct_media_local_file( $path, $url ) — a local copy of an image to use instead of downloading it.
  • synwp_ct_page_globals( $globals ) — the global colour/font references an import warns about.

Actions:

  • synwp_ct_import_screen — print extra fields at the end of the import form.
  • synwp_ct_before_import_page( $page, $options, $context ) — before each imported page.
  • synwp_ct_after_import_page( $new_id, $page, $result, $context ) — after each imported page ($new_id is 0 on failure).

Public services:

  • SynWP_CT_Exporter::export_post( $post_id ) returns one export entry.
  • SynWP_CT_Importer::import_page( $page, $options, &$context ) imports one entry and returns new_id, warnings and errors. $context carries shared state across a multi-item import: source, id_map (old new post ID) and media_map (source URL attachment ID).

Screenshots

Installation

  1. In your WordPress admin, go to Plugins Add New, search for “SynapseWP Content Transfer”, then install and activate it. Or upload the plugin folder to /wp-content/plugins/ and activate it on the Plugins screen.
  2. To export, hover over an item in its list screen (for example Pages All Pages) and click Export Elementor Page (or Export Elementor Post, or Export plus the item type).
  3. To import, click the Import button next to “Add New” on the same screen, or go to Tools Import Elementor Content. Choose the file and click Import.

Install the plugin on both the source and the destination site.

FAQ

Which content can I transfer?

Pages, posts, custom post types and Elementor templates: any post type with an admin screen. Each Export click exports one item; an import file can hold any number of items.

Do I need Elementor or Elementor Pro?

The free Elementor plugin is required, and must be active on both sites. Elementor Pro is not required, but to display an Elementor page as designed, the destination needs Elementor Pro and any add-ons the page’s widgets come from if the page uses them. Gutenberg and classic pages transfer too.

Are global colours, fonts, headers and footers transferred?

No. The Elementor Kit (global colours and fonts) and Theme Builder templates (header, footer, single, popups) live outside the page. On another site the page uses that site’s Kit and templates, and the import warns you when the page relies on them.

Why are some widgets flagged after import?

Widgets that reference other content by ID are flagged, not remapped. This includes Template, Global and Loop widgets, forms, menus and dynamic tags. Check them by hand on the destination.

Why do images fail to import between two local sites?

WordPress refuses to download from private IP addresses. Moving pages between two local development sites therefore needs an http_request_host_is_external filter on the destination.

What happens when widgets are missing on the destination?

When a page uses widgets that aren’t registered on the destination (Pro widgets without Pro, missing add-ons), the data is written to post meta directly instead of through Elementor’s document API, because Elementor’s save would silently drop those widgets. They reappear once their plugin is active.

Do images in block editor content keep their Media Library link?

Images are re-pointed by URL, but block attributes keep the source attachment ID ("id":N / wp-image-N). They render correctly, but the block editor may not link them to the new Media Library item.

Is there an export button inside the Elementor editor?

Not yet. Elementor 4’s editor top bar has no stable extension API, so use the row action on the Pages or Posts screen.

What is in the export file?

A JSON file (format version 1) with the item’s title, slug, content, excerpt, status, type, menu order, comment status and page template; its post meta; its Elementor data and page settings; its featured image; its terms; and a list of the images it uses. Never exported or imported: _edit_lock, _edit_last, _wp_old_slug, _elementor_css, _elementor_page_assets, _elementor_element_cache, _thumbnail_id (handled through the featured image), _oembed_* and _wp_trash_meta_*.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SynapseWP Content Transfer for Elementor” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.0

  • Declares Elementor as a required plugin (Requires Plugins header).
  • Renamed to SynapseWP Content Transfer for Elementor.
  • Every item in an import file is imported; the one-item limit is gone.
  • Custom post types and Elementor templates can be exported and imported, as well as pages and posts.

1.2.0

  • Posts can now be exported and imported, with their categories and tags, alongside pages.
  • The import screen is now Tools Import Elementor Content.

1.1.0

  • Initial release.