內容簡介
從 ACF 頁面:
本地 JSON 是在 5 版中新增的新功能,可將欄位群組和欄位設定保存為 .json 檔案存儲在您的佈景主題中。這個想法類似於緩存,它可以大大加快 ACF 的速度,並允許對您的欄位設定進行版本控制!
此外掛需要安裝 Advanced Custom Fields 或 Advanced Custom Fields Pro 外掛才能運作。
安裝方法:
將外掛檔案上傳至 /wp-content/plugins/plugin-name 目錄,或直接透過 WordPress 插件頁面安裝外掛。
在 WordPress 的「插件」頁面啟用外掛。
更新所有欄位群組(打開群組然後按「更新」按鈕)。
就是這樣!
外掛標籤
開發者團隊
② 後台搜尋「Local JSON in uploads for ACF」→ 直接安裝(推薦)
原文外掛簡介
From ACF page:
Local JSON is a new feature added in version 5 which saves field group and field settings as .json files within your theme. The idea is similar to caching, and both dramatically speeds up ACF and allows for version control over your field settings!
This plugin require Advanced Custom Fields or Advanced Custom Fields Pro plugin to work.
Installation:
Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
Activate the plugin through the ‘Plugins’ screen in WordPress
Update all field groups (open group and press “Update” button)
That’s all folks!
