WP Manifestindependent plugin directory
manifest / developer / afc-nav-menu-field

ACF Nav Menus Field

Custom AFC Field Type to select nav manus

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/derweili/afc-nav-menu-field/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Advanced Custom Fields: FIELD_LABEL Field

Add Custom ACF Field to select Nav Menus

Description

Add Custom ACF Field to select Nav Menus

How to use the field on the frontend:

$menu_id = get_field('_field_name' );
if( $menu_id ){
  $menu = get_term($menu_id);
  wp_nav_menu( array(
    'menu' => $menu,
  ) );
}

Compatibility

This ACF field type is compatible with:

  • ACF 4

Installation

  1. Copy the derweili-acf-nav-menu-field folder into your wp-content/plugins folder
  2. Activate the ACF Nav Menus Field plugin via the plugins admin page
  3. Create a new field via ACF and select the Nav Menu type
  4. Read the description above for usage instructions

Changelog

1.0.0

  • Initial Release.