bengreeley / multisitesharedmenu Goto Github PK
View Code? Open in Web Editor NEWMultisite Shared Menu plugin for WordPress
Multisite Shared Menu plugin for WordPress
=== Multisite Shared Menu === Contributors: ben.greeley, Third Boxcar Tags: widget, menu, menus, multisite, navigation Requires at least: 3.9 Tested up to: 4.1 Stable tag: 1.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Use navigation menus from another multisite blog on the same network to achieve a universal common navigation area. == Description == Allows users in a WordPress multisite network pull in menus from a main site in order to achieve universal navigation or shared navigation without needing to manually recreate menus. Plugin is intended for WordPress Multisite environment for plugin to function properly and use the same theme to ensure menu name compatibility. == Installation == 1. Copy the folder into your /wp-content/plugins directory. 1. Activate for the sites you wish to use plugin on. NOTE: Should not be activated on master menu site, and all sites sharing menus should use the same theme. 1. If your master/main site does not yet have a menu, set up a menu to use as a “master”. 1. To use this menu on other sites, browse to the site you wish to use the menu on. 1. Navigate to ‘Shared Menu Settings’ under the ‘Appearance’ menu. 1. Select the source site that contains the menu you wish to use and select the menu location(s) to pull in from your primary site. 1. Click ‘save changes’ to save your changes. == Screenshots == 1. Multisite Shared Menu options menu == Changelog == <h3>1.2</h3> Multiple menu selection! You can now include one or more menus from your master menu site. <h3>1.11</h3> Documentation improvements and screenshots. <h3>1.1</h3> Fixed bugs relating to registered menu locations. <h3>1.0</h3> Initial Release
I installed Multisite Shared Menus and all works well on main domain and six of my seven sub-domains, but on my Dating Service, when a logged in member clicks on “Members” we get a list of about 20 lines of the same warning as follows:
Warning: in_array() expects parameter 2 to be array, null given in /plugins/buddypress/bp-core/bp-core-filters.php on line 199
I am using WP 4.8, BP 2.8.2, GeneratePress Child Theme, but the issue is also there using Twenty-Sixteen
I have deleted BP and reinstalled but it didn’t help. I am currently hiding the warning in config.php but would like to fix it instead of just hiding it.
I have requested help from several sources but none have been able to fix the problem.
Can you give me some idea of how I might resolve this please.
Thank you!
The wp_get_sites() function was deprecated in WordPress 4.6. Submitting a pull request to update the plugin to use get_sites() instead.
http://mbcedu.dev.onpressidium.com/ --> main blog(master menu)
http://mbcedu.dev.onpressidium.com/admissions/ --> sub site, all menus except footer work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.