forked from ivycat/network-nav-menus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
64 lines (39 loc) · 2.42 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
=== Network Nav Menus ===
Contributors: ivycat, sewmyheadon, bradyvercher, rdall
Tags: multisite, nav menus, navigation, network
Requires at least: 3.0.1
Tested up to: 4.8
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Assign navigation menus from the main site in a WordPress multisite network to theme locations in sub-sites.
== Description ==
Network Nav Menus allows you to designate a menu from the main site in a WordPress multisite network as the networked menu and it will appear as an available menu in your sub-sites.
== Installation ==
This plugin works off of the `register_nav_menus` function. [For more on that function info see the Theme Developer Handbook](https://developer.wordpress.org/themes/functionality/navigation-menus/) register nav menus page on the developer handbook"
You set up your menu array in your function file of the theme(s) you have in your themes folder the same way you would on for a single site install For example:
`register_nav_menus( array( 'global' => 'Global Navigation Menu' )`
Then you would call that menu on each theme file you want.
`wp_nav_menu( array( 'theme_location' => 'header-menu' )`
Once you have created the the menu you want to use for your Network Nav Menu, you can then designate it as the menu you want for the Network Nav Menu from the list of available menus in the primary site.
You can then go to any sub-site under **Appearance > Menus** and there will be another menu option called "Network Menus."
1. Upload **Network-Nav-Menus** to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
== Frequently Asked Questions ==
= *Q:* Do I still need to configure my site to call this menu in each sub-site? =
*A:* Yes
= *Q:* Can I choose which site my Network Nav Menu comes from? =
*A:* No, the Network Nav Menu can only be set in the primary site.
= *Q:* Is there a site that is currently using this plugin? =
*A:* Yes this plugin was initially built for [Art Wolfe](http://artwolfe.com/ "Website of Art Wolfe") and as of April / 2015 the only site where you can see it implemented.
= *Q:* How can I contribute, report bugs, or suggest features?
*A:* Visit the [Network Nav Menu GitHub repository](https://github.com/ivycat/Network-Nav-Menus).
== Changelog ==
= 1.0.1 =
* Documentation updates
* Minor code cleanup
= 1.0 =
* Initial Commit
== Upgrade Notice ==
= 1.0.1 =
Better documentation.