[WordPress] 外掛分享: Customizer Export/Import

WordPress 外掛 Customizer Export/Import 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Customizer Export/Import」是 2014-12-19 上架。
  • 目前有 200000 個安裝啟用數。
  • 上一次更新是 2025-01-27,距離現在已有 95 天。
  • 外掛最低要求 WordPress 3.6 以上版本才可以安裝。
  • 有 113 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

pross | justinbusa |

外掛標籤

export | import | customizer | customizer export | customizer import |

內容簡介

自訂面板匯出/匯入

自訂面板匯出/匯入外掛讓您能夠直接從自訂面板界面匯出或匯入您的 WordPress 自訂設定!如果您的佈景主題使用 WordPress 自訂面板進行設定,則此外掛適用於您!

請造訪我們的部落格瞭解更多有關自訂面板匯出/匯入外掛的資訊。

新增!匯出選項

自訂面板匯出/匯入外掛先前僅能匯出使用get_theme_mods 函式儲存的佈景主題修飾,但現在不再如此!自訂面板匯出/匯入外掛現在也會匯出使用選項儲存的設定!

運作方式

匯出自訂面板設定非常簡單。從自訂面板內點擊匯出按鈕,檔案將自動下載包含您設定的設定。匯出檔案命名為您的佈景主題名稱,並且只能用於匯入與它們關聯的佈景主題或子佈景主題的設定。匯出檔案包含使用get_theme_mods 函式擷取的修飾或儲存為選項的自訂面板設定的序列化拋棄。

匯入自訂面板設定同樣簡單。選擇您要匯入的匯出檔案,選擇是否下載和匯入圖片(類似於匯入文章),最後點擊匯入按鈕。匯入您的設定後,頁面將重新載入,您的新設計將顯示。

匯出自訂選項

開發者可以通過使用 cei_export_option_keys 過濾器將非自訂面板選項匯出。通過在下面示例中添加您的選項鍵到要匯出的選項數組中,那些選項可以被匯出和匯入。

function my_export_option_keys( $keys ) {
$keys[] = 'my_option_key';
$keys[] = 'another_option_key';
return $keys;
}

add_filter( 'cei_export_option_keys', 'my_export_option_keys' );

已知問題

此外掛目前僅適用於活躍的佈景主題,對於正在使用主題測試驅動程式或新自訂面板主題預覽進行預覽的佈景主題,不適用。

貢獻!

我們很樂意聽取您對如何改進自訂面板匯出/匯入外掛的意見,或更好的是,看到佈景主題開發人員積極貢獻!如果您有興趣貢獻,請不要猶豫讓我們知道,我們很樂意讓其他人參與其中。

自訂面板匯出/匯入外掛是由 Beaver Builder 的精英團隊捐獻開發。

原文外掛簡介

Customizer Export/Import
The Customizer Export/Import plugin allows you to export or import your WordPress customizer settings from directly within the customizer interface! If your theme makes use of the WordPress customizer for its settings, this plugin is for you!
Please visit our blog for more info on the Customizer Export/Import plugin.
New! Export Options
The Customizer Export/Import plugin previously only exported options saved as theme mods using the get_theme_mods function, but that is no more! The Customizer Export/Import plugin now exports settings saved as options as well!
How It Works
Exporting customizer settings is easy. Click the export button from within the customizer and a file will automatically begin downloading with your settings. Export files are named after your theme and can only be used to import settings for the theme or child theme that they came from. Export files contain a serialized dump of mods retrieved using the get_theme_mods function or customizer settings saved as options.
Importing customizer settings is just as easy. Choose the export file you would like to import, select whether you would like to download and import images (similar to importing posts), and finally, click the import button. Once your settings have been imported the page will refresh and your new design will be displayed.
Exporting Custom Options
Developers can also have arbitrary options that aren’t part of the customizer exported by using the cei_export_option_keys filter. Those options can be exported and imported by adding your option key to the array of options that will be exported as shown below.
function my_export_option_keys( $keys ) {
$keys[] = 'my_option_key';
$keys[] = 'another_option_key';
return $keys;
}

add_filter( 'cei_export_option_keys', 'my_export_option_keys' );

Known Issues
This plugin currently only works for active themes, not themes that are being previewed with either the Theme Test Drive plugin or the new customizer theme preview.
Contribute!
We’d love to hear your feedback as to how we could improve the Customizer Export/Import plugin, or better yet, see theme developers actively contribute! Don’t hesitate to let us know if you’re interested in contributing as we would gladly have others on board.
The Customizer Export/Import plugin is brought to you by the fine folks at Beaver Builder.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Customizer Export/Import」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.9.1 | 0.9.2 | 0.9.7 | 0.9.8 | trunk | 0.9.7.1 | 0.9.7.2 | 0.9.7.3 |

延伸相關外掛(你可能也想知道)

  • Export any WordPress data to XML/CSV 》WP All Export – 簡單又實用的 XML/CSV 外掛, WP All Export 提供三個簡單步驟的匯出流程和直覺式的拖放介面,讓您能快速輕鬆地完成複雜匯出任務。, 使用 WP ...。
  • Advanced Order Export For WooCommerce 》此外掛程式可以協助您輕鬆地匯出 WooCommerce 訂單資料。, 匯出已指定訂單/產品/優惠券的任何自訂欄位都像是數選,而且您可以選擇匯出多種格式,如 CSV、XLS...。
  • Import and export users and customers 》在您的免費測試網站中試試看:點擊此處 => https://demo.tastewp.com/import-users-from-csv-with-meta, 一個乾淨易用的用戶和客戶導入/導出外掛,適用於 ...。
  • WP Import Export Lite 》o.com/goto/wpimportexport" target="_blank">WordPress Import Export 插件 是一款易用、快速且進階的匯入和匯出網站數據的工具。, WordPress Import Export...。
  • Export media with selected content 》在 WordPress 的匯出畫面中,當選擇一種文章類型時,預設情況下不會將其連結的媒體(附件)包含在內。本外掛程式則新增了一個「匯出選定內容時包含媒體」的選...。
  • Export Media Library 》此外掛允許使用者將媒體庫檔案匯出成壓縮的 zip 檔案。, 連結, , 官方網站, 技術支援, 。
  • استخراج محصولات ووکامرس برای ترب – رسمی 》‫This plugin is developed to retrieve all products from WordPress stores that use the WooCommerce plugin., ‫The aim of this plugin is...。
  • YML for Yandex Market 》此外掛程式創建 YML-feed 以在 Yandex Market 及其他地方上傳。此外,此插件也適用於以下用途:, , СберМегаМаркет, Yandex Turbo-pages, Yandex de...。
  • WPS Menu Exporter 》WPS Menu Exporter 可以讓您僅匯出 WordPress 的選單 (就像您可以匯出文章、頁面等)。, WPS Menu Exporter 外掛還會將包含在 WordPress 選單中的頁面 / 分類...。
  • === Export All Posts, Products, Orders, Refunds & Users 》rough advanced filters, select the required criteria by choosing the checkboxes available in the options., * Click on the ‘Apply Filters̵...。
  • WP CSV Exporter 》這個外掛程式可以按照每篇文章類型將文章匯出為 CSV 格式。, 此外,它也支援文章的自訂欄位和自訂分類法。, 您還可以設定要下載的文章數量或日期範圍。, 如何...。
  • GravityExport Lite for Gravity Forms 》, GravityExport 是從 Gravity Forms 匯出資料的最佳、無需麻煩的解決方案。, GravityExport 提供強大的新功能!可將匯出儲存至 FTP 和 Dropbox、匯出為 PDF...。
  • DeMomentSomTres WordPress Export Posts With Images 》DeMomentSomTres WordPress Export Posts With Images是為了因應DeMomentSomTres數位行銷代理公司的客戶需求而開發的。該客戶有一個非常龐大的部落格,需要將...。
  • Export User Data 》一個可以匯出 WordPress 使用者資料和元數據的外掛。, 包括匯出使用者身分、註冊日期範圍、使用者元選項和兩種匯出格式的選項。, 此外掛程式設計用來匯出儲存...。
  • Product Export for WooCommerce to CSV, Excel, XML, and the Google Merchant Center 》使用 WooCommerce 產品匯出外掛程式 WP All Export Add-On,可以匯出產品資訊為 CSV、Excel 或 XML 檔案。WP All Export 提供了選擇匯出的產品欄位,按需要重...。

文章
Filter
Apply Filters
Mastodon