Advanced Custom Fields: Get nav menus - multisite shared menus
Get Wordpress nav menus using ACF. Share the is_main_site menus in child sites.
by Beltrán Rengifo - Daniel Glans - Bech Webbkonsult AB · github.com/beltranrengifo/acf-get-nav-menus-multisite-shared-menus · website
★ 1stars
923composer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/beltranrengifo/acf-get-nav-menus-multisite-shared-menus/archive/refs/heads/master.zipAlso on Packagist as beltranrengifo/acf-get-nav-menus-multisite-shared-menus:
composer require beltranrengifo/acf-get-nav-menus-multisite-shared-menusFrom the readme
Advanced Custom Fields: Get nav menus - multisite shared menus
Author: Beltrán Rengifo - Daniel Glans - Bech Webbkonsult AB
Plugin Name: Advanced Custom Fields: Get nav menus - multisite shared menus
Description: Get wordpress nav menus and share the main site menus in ACF child sites
Requires at least: 4.9.0
Tested up to: 5.3.1
Requires PHP: 5.0
Version: 1.0.2
Author URI:
License: GPLv2 or later
License URI:
Description
With Acf get menus you can easily get Wordpress navigation menus by choosing Menus in ACF when creating a new field.
Then you will get all of your created Wordpress menus as an object that your can do whatever you like with.
This is a fork over the original plugin:
This modification offers the main site menus in the child sites ACF fields, so you easily can select parent site's menus:
Simple like that
Compatibility
This ACF field type is compatible with:
ACF 5
Installation
1. Copy the acf-get-menus folder into your wp-content/plugins folder
2. Activate the Advanced Custom Fields: Get nav menus plugin via the plugins admin page
3. Create a new field via ACF and select the selectMenu type
4. Read the description above for usage instr