beltranrengifo/acf-get-nav-menus-multisite-shared-menus

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

1.0.2 2020-02-11 14:17 UTC

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

  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