[WordPress] 外掛分享: Version Control Your Content

前言介紹

  • 這款 WordPress 外掛「Version Control Your Content」是 2025-04-05 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-04-06,距離現在已有 27 天。
  • 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

harisamjed |

外掛標籤

git | Github | version control |

內容簡介

總結:Version Control Your Content 外掛提供了使用 Git 服務替代 WP 原生的修訂功能的選擇。它能在各種編輯器與自訂設定頁面中進行版本控制,同時運作原理為將資料提交到 Git 儲存庫,以最小負擔運作於伺服器。

1. 這個外掛提供了替代 WP 原生修訂功能的選擇嗎?
- 是的,Version Control Your Content 外掛使用 Git 服務作為版本控制的替代方案。

2. 使用這個外掛需要哪些條件?
- 使用前需擁有 GitHub 帳號及私人儲存庫,建議也擁有 GitHub 細緻存取權杖。

3. 這個外掛目前提供版本控制的地方有哪些?
- 可在 Gutenberg、Classic Editor、Customizer 的 Additional CSS 和 WP Admin 的 Default Settings 頁面上進行版本控制。

4. 這個外掛的運作方式是怎樣的?
- 當提交任何 HTML 表單時,透過 JavaScript 捕捉表單數據,將其轉換為 JSON 格式後透過 commit 傳送到 Git 儲存庫。

5. 這個外掛未來計劃增加哪些功能?
- 整合與 Elementor、Divi、Beaver Builder、WPBakery 等頁面構建器,以及與 WooCommerce、BuddyPress、bbPress、WPML 等進行整合。

原文外掛簡介

The Version Control Your Content plugin provides an alternative to the native WP Revisions feature using Git services.
Requirements

A GitHub account. If you don’t have one, you can create one here.
A GitHub private repository. If you don’t have one, you can create one here.
(Optional but highly recommended) A GitHub fine-grained personal access token. If you don’t have one, you can create one here.

This plugin provides an option for version control in the following places for now:

Block Editor (Gutenberg)
Classic Editor
Additional CSS in the Customizer
Default Settings pages in WP Admin

On all supported pages, you will see a “Version Control” box, and you can activate or deactivate it for that page. It will also show you the real-time GitHub API usage in the top admin bar.
This solution will put minimal load on your server because there will be no database entries, no complex SQL operations, and only simple JavaScript-based API calls to external Git services.
How it works behind the scenes?

When you submit any HTML form, such as saving a post, it captures the form data via JavaScript before sending it to the server backend.
It sanitizes the data and converts it to JSON format (if needed).
It sends that JSON or HTML data to your Git repository via a commit.
In this way, all your changes will be new commits in your Git repo in related JSON or HTML files.
In the commits box, a list of all commits will be shown. It will also provide an option to view the changes or revert to that version.

Planned Upcoming Features
Currently, I have developed it for three views as described above, and the following features will be added in the future:

Integration with page builders like Elementor, Divi, Beaver Builder, WPBakery, etc.
Integration with WooCommerce
Integration with BuddyPress
Integration with bbPress
Integration with WPML, etc.

各版本下載點

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

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


1.0.0 | trunk |

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

  • Revisr 》Revisr可讓您使用Git存儲庫管理WordPress網站。使用Revisr,您可以:, , 跟踪您整個WordPress安裝的更改,或者只跟踪您喜歡的部分, 在WordPress儀表板內提交...。
  • WordPress GitHub Sync 》這是一個 WordPress 外掛,可以將內容與 GitHub 儲存庫(或 Jekyll 網站)進行同步, , 如果您希望能夠協同撰寫 WordPress 網站的內容(或公開展示更改歷史...。
  • Gitium 》Gitium 可實現 WordPress 的持續部署,與 Github、Bitbucket 或 Travis-CI 等工具相配合。主題或外掛的更新、安裝和刪除都會自動進行版本控制。WordPress 編...。
  • Deployer for Git 》這款外掛可以使用「推送以部署」的方式安裝和自動更新托管在 GitHub、Bitbucket、GitLab 或 Gitea 上的主題和外掛。, , 總結:, - 外掛提供了安裝和自動更新 W...。
  • Embed Repo For Github 》以下為繁體中文總結:, , 透過這款 WordPress 外掛,您可以把自己的 GitHub 倉庫嵌入 WordPress 網站的各個區域,快速簡單地展示您的作品。以下為使用方法。,...。
  • Plugins Page Tweaker 》, , 這個外掛能夠自訂插件頁面,包括以下功能:, , 顯示插件圖示, 在更新通知中顯示版本更新內容, 如果插件是透過 GIT 載入,插件列表也會顯示商標和圖示。並...。
  • Github Ribbon 》Github Ribbons 是一款 WordPress 外掛,可讓您在 WordPress 文章或頁面上添加「Fork me on Github」的彩帶。您可以按文章/頁面或全域級別啟用彩帶。, 功能, ...。
  • WP Pusher Slack Notifications 》WP Pusher 可讓您直接從 GitHub 和 Bitbucket 安裝和更新 WordPress 插件和佈景主題。此外掛會在每次部署後透過 Slack 通知您。, 當您將某些東西推送到 GitHu...。
  • Writing On GitHub 》一個 WordPress 外掛,讓您可以在 GitHub 上撰寫文章 (或 Jekyll 網站)。, 這個外掛的部份程式碼來自於WordPress GitHub Sync,感謝。, 有沒有開心想過您可以...。
  • WP GitHub Sync Meta 》這是一個 WordPress 外掛,可透過 wp-github-sync 與 GitHub 同步文章的 meta、標籤和分類等資訊。, 這個外掛需要 WordPress guithub Sync 外掛。, 相關連結...。
  • WP-Git-Embed 》嵌入 GitHub、Gist 或 Bitbucket 的檔案。, 參考: https://github.com/gbaptista/wp-git-embed。
  • WP Git Deploy 》這是一款管理生產或開發網站版本的 WordPress 外掛。, 當 WordPress 安裝在 Git 樹上,WP Deploy 可以偵測到其分支並在管理列中放置, 一個切換菜單。, 有了這...。
  • Show Git Branch 》這個外掛會在工具列上顯示你目前所在的 Git 分支。它會先檢查主題,接著再檢查根目錄。。
  • Repository Zip 》這個外掛可以在文章和頁面中創建指向 Subversion 或 Git 存儲庫的 zip 下載鏈接。每次調用時,可以設置 Subversion 版本號 / Git 標籤、鏈接文字、CSS 名稱和...。
  • No Updates for Plugins under Revision Control 》此外掛會檢查每個外掛程式所在目錄中是否存在 .svn 目錄。為避免誤判,對直接存放於 /plugins/ 目錄下的外掛程式會禁用該檢查功能。, 除了 Subversion 外掛外...。

文章
Filter
Apply Filters
Mastodon