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

LuckyWP ACF Menu Field

描述

Add navigation menu field type to Advanced Custom Fields.

Features

  • Customizable return value: ID, object (WP_Term) or HTML (use function wp_nav_menu()).
  • Hook filter lwpamf_wp_nav_menu_args to change arguments of wp_nav_menu() function.

Compatibility

LuckyWP ACF Menu Field is compatible with:

  • Advanced Custom Fields 5
  • Advanced Custom Fields PRO 5

屏幕截图

  • Edit Field Configuration
  • Menu Field

安装

Installing from the WordPress control panel

  1. Go to the page “Plugins > Add New”.
  2. Input the name “LuckyWP ACF Menu Field” in the search field
  3. Find the “LuckyWP ACF Menu Field” plugin in the search result and click on the “Install Now” button, the installation process of plugin will begin.
  4. Click “Activate” when the installation is complete.

Installing with the archive

  1. Go to the page “Plugins > Add New” on the WordPress control panel
  2. Click on the “Upload Plugin” button, the form to upload the archive will be opened.
  3. Select the archive with the plugin and click “Install Now”.
  4. Click on the “Activate Plugin” button when the installation is complete.

Manual installation

  1. Upload the folder luckywp-acf-menu-field to a directory with the plugin, usually it is /wp-content/plugins/.
  2. Go to the page “Plugins > Add New” on the WordPress control panel
  3. Find “LuckyWP ACF Menu Field” in the plugins list and click “Activate”.

After activation

Into ACF field type will appear option “Menu” (group “Relational”).

评价

2021年6月21日
I wonder why ACF doesn't have this feature by default? If you need to for example create a navigation with categories and pages at once, you have no chance without this plugin. So thanks a lot for it.
2021年4月12日
Works as expected. Thanks a lot! (A similar one for widgets could be nice to have too..)
阅读所有13条评价

贡献者及开发者

“LuckyWP ACF Menu Field” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“LuckyWP ACF Menu Field”插件已被翻译至2种本地话语言。 感谢所有译者为本插件所做的贡献。

将“LuckyWP ACF Menu Field”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0 — 2020-05-26

  • Initial release.