beltranrengifo / acf-get-nav-menus-multisite-shared-menus
Get wordpress nav menus and share the main site menus with the child sites.
Installs: 837
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=5.0
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2024-05-12 00:22:22 UTC
README
- 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
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
- 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
Changelog
1.0.0
- Initial Release.
1.0.1
- Returned value changed from number to object.
1.0.2
- Updated composer.json