[WordPress] 外掛分享: SynapseWP Content Transfer for Elementor

首頁 › 外掛目錄 › SynapseWP Content Transfer for Elementor
WordPress 外掛 SynapseWP Content Transfer for Elementor 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v1.3.0 上架:2026-11-27

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SynapseWP Content Transfer for Elementor」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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).

延伸相關外掛

文章
Filter
Mastodon