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

Advanced Custom Fields – Menu Field add-on

描述

This is an add-on for the Advanced Custom Fields WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed and activated.

This add-on creates an Advanced Custom Fields field type that, when associated with a WordPress Menu, renders a single or optionally, a multi select element, containing the items in the menu.

The user selection is returned as a plain text string, or, if the field is configured as a multi select, as an array.

安装

  1. Upload the acf-menu-field directory to the /wp-content/plugins/ directory found in your web root.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Create a new custom field with the type ‘WordPress Menu’.

There is no need to use ACF’s register_field(); method for this field. This plugin will, if ACF is installed and actived, register the field automatically.

You can also include this plugin directly in your theme by using require('path_to_menu_field.php');.

评价

此插件暂无评价。

贡献者及开发者

「Advanced Custom Fields – Menu Field add-on」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.0
Initial release.