该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

ACF Pro JSON Sync

描述

Local JSON is a new feature added in version 5 which saves field group and field settings to 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!

HOWEVER, the wp-admin field group edit screen will not load data from local json files, meaning you can not edit fields which are loaded from json files. This plugin solves this problem by creating an easy way to sync json fields into the database. This allows fields to be shared across multiple environments and contributors without having to export/import the database.

This plugin copies much of the functionality found in the Advanced Custom Fields export settings (advanced-custom-fields-pro/admin/settings-export.php).

Notes

  • Local Json folder filename must be the default acf-json.
  • Syncing down json fields will overwrite all fields stored in the database. Use with caution!

屏幕截图

  • AFC Pro Sync admin screen

安装

  1. Upload ‘acf-sync’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Click on the new menu item “ACF Sync” and click Sync Now
  4. Any fields stored in your acf-json folder will be imported in the database, and can be edited as normal.

常见问题

Coming Soon!

评价

此插件暂无评价。

贡献者及开发者

“ACF Pro JSON Sync” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“ACF Pro JSON Sync”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial Setup 🙂