SynapseWP Content Transfer for Elementor
Export any Elementor page, post or template, with all its data and images, to one JSON file, and import it on another site in one click.
Install in
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.
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, soexample.comnever rewritesexample.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_poston each exported item. - Import requires permission to create the item’s post type (for example
edit_pagesfor pages,edit_postsfor posts), plusupload_filesfor 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
.jsonextension 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_idis 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 returnsnew_id,warningsanderrors.$contextcarries shared state across a multi-item import:source,id_map(old new post ID) andmedia_map(source URL attachment ID).
Written by Joobi from the project's own listing. See the source page
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.
Follow this listing's changes (Atom feed)