WP Manifestindependent plugin directory
manifest / multisite / acf-get-nav-menus-multisite-shared-menus

Advanced Custom Fields: Get nav menus - multisite shared menus

Get wordpress nav menus and share the main site menus with the child sites.

★ 1stars
929composer installs

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/beltranrengifo/acf-get-nav-menus-multisite-shared-menus/archive/refs/heads/master.zip

On Packagist as beltranrengifo/acf-get-nav-menus-multisite-shared-menus:

composer require beltranrengifo/acf-get-nav-menus-multisite-shared-menus
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
  • 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

  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 instructions

Changelog

1.0.0

  • Initial Release.

1.0.1

  • Returned value changed from number to object.

1.0.2

  • Updated composer.json