描述
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
安裝
Installing from the WordPress control panel
- Go to the page “Plugins > Add New”.
- Input the name “LuckyWP ACF Menu Field” in the search field
- 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.
- Click “Activate” when the installation is complete.
Installing with the archive
- Go to the page “Plugins > Add New” on the WordPress control panel
- Click on the “Upload Plugin” button, the form to upload the archive will be opened.
- Select the archive with the plugin and click “Install Now”.
- Click on the “Activate Plugin” button when the installation is complete.
Manual installation
- Upload the folder
luckywp-acf-menu-field
to a directory with the plugin, usually it is/wp-content/plugins/
. - Go to the page “Plugins > Add New” on the WordPress control panel
- Find “LuckyWP ACF Menu Field” in the plugins list and click “Activate”.
After activation
Into ACF field type will appear option “Menu” (group “Relational”).
評價
2022年6月24日
Works perfectly.
2021年12月8日
Works like a charm! ACF should consider adding this by default.
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日
I installed it and it worked.
2021年4月12日
Works as expected. Thanks a lot!
(A similar one for widgets could be nice to have too..)
2021年3月18日
Nice little plugin that met my need exactly! Thanks!
貢獻者及開發者
修改日誌
1.0 — 2020-05-26
- Initial release.