[WordPress] 外掛分享: ACF 5 Pro JSON Storage

首頁外掛目錄 › ACF 5 Pro JSON Storage
90+
安裝啟用
尚無評分
3778 天前
最後更新
問題解決
WordPress 3.5.0+ v1.0.0 上架:2015-11-13

內容簡介

我在大部分自訂 WordPress 專案中使用 Advanced Custom Fields 5 Pro,而最新版本支援將你的欄位群組存為 JSON。要啟用這個功能,你只需在你的佈景主題內建立一個名為/acf-json/的資料夾即可。但這不是我想要的。

我希望將這些 JSON 檔案儲存在佈景主題外,因為它們對於網站的功能至關重要,而功能等同於外掛。將這些資料儲存在 WordPress 佈景主題外,可使它們更具可攜性,並且意味著即使你更換佈景主題,仍然可以保留 ACF JSON 資料。

一旦外掛安裝並啟用,它會自動將欄位群組存為 JSON,並放置於外掛的/acf-json/文件夾中,當欄位群組被更新或儲存時。

這個外掛程式正在 Github 上積極開發中。

需求

ACF 5 Pro (同步 JSON 至少需要 v5.1.5)

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ACF 5 Pro JSON Storage」→ 直接安裝(推薦)

原文外掛簡介

I use Advanced Custom Fields 5 Pro for most custom WordPress projects, and the latest version supports saving your Field Groups to JSON. To activate this functionality out of the box, all you have to do is create a folder within your theme called /acf-json/. But I don’t like that.
I prefer for these JSON files to be stored outside of the theme, because they’re key to the functionality of the website, and functionality === plugin. Storing this data outside of your WordPress theme makes it inherently more portable, and means you can retain the ACF JSON data even if you change theme.
Once the plugin is installed and activate it will automatically save field groups as JSON within the plugin’s /acf-json/ folder when they are updated or saved.
This plugin is under active development on Github
Requirements

ACF 5 Pro (Synchronized JSON requires at least v5.1.5)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon