[WordPress] 外掛分享: WP-CFM

首頁外掛目錄 › WP-CFM
WordPress 外掛 WP-CFM 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
1,000+
安裝啟用
★★★★★
5/5 分(9 則評價)
763 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.7.10 上架:2014-05-29

內容簡介

WP-CFM 讓您能夠在資料庫和檔案系統之間複製資料庫配置。無需複製整個資料庫即可輕鬆部署配置更改。 WP-CFM 與 Drupal 的功能模組類似。

WP-CFM 如何使我受益?

減少複製整個資料庫的需求。
不再急著弄清楚您忘記更改哪些設置。
可以通過git、subversion等輕鬆跟踪和版本化配置更改。

WP-CFM 支持哪些資料?

WP 設置(wp_options 表格)
多站點設置(wp_sitemeta 表格)
分類術語
Custom Field Suite 字段群組

術語

Bundle(捆)- 一組要跟踪的(一個或多個)設置
Push(發佈)- 將資料庫設置匯出到檔案系統
Pull(拉取)- 將基於檔案的設置匯入到資料庫中

WP-CLI

WP-CFM 使用 WP-CLI 通過命令行支持捆從機器上的 [pull / push / diff] 操作:

wp config pull [bundle_name]
wp config push [bundle_name]
wp config diff [bundle_name]
wp config bundles
wp config show_bundle [bundle_name]

您可以選擇將 bundle_name 設置為 “all” 以包含所有捆。

添加 --network 標誌以包括多站點捆。

過濾器

請參閱 GitHub Wiki 的過濾器參考頁面。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP-CFM」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WP-CFM lets you copy database configuration to / from the filesystem. Easily deploy configuration changes without needing to copy the entire database. WP-CFM is similar to Drupal’s Features module.
How will WP-CFM benefit me?

Less need to copy over the entire database.
No more rushing to figure out which settings you forgot to change.
Easily track and version configuration changes via git, subversion, etc.

Which data does WP-CFM support?

WP settings (wp_options table)
Multisite settings (wp_sitemeta table)
Taxonomy terms
Custom Field Suite field groups

Terminology

Bundle – A group of (one or more) settings to track
Push – Export database settings to the filesystem
Pull – Import file-based settings into the database

WP-CLI
WP-CFM supports [pull / push / diff] of bundles from the command-line using WP-CLI:

wp config pull [bundle_name]
wp config push [bundle_name]
wp config diff [bundle_name]
wp config bundles
wp config show_bundle [bundle_name]

You can optionally set bundle_name to “all” to include all bundles.
Append the --network flag to include multisite bundles.
Filters
See the filters reference page at the GitHub Wiki.

延伸相關外掛

文章
Filter
Mastodon