- 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: https://github.com/beltranrengifo
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
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
This ACF field type is compatible with:
- ACF 5
- Copy the
acf-get-menus
folder into yourwp-content/plugins
folder - Activate the Advanced Custom Fields: Get nav menus plugin via the plugins admin page
- Create a new field via ACF and select the selectMenu type
- Read the description above for usage instructions
- Initial Release.
- Returned value changed from number to object.
- Updated composer.json