That’s an old question, if someone like me landed on this page and want some-sort of custom solution for WORDPRESS MULTISITE MENU sharing across all network sites,
Not only menu you can use the same method to share anything other then widgets across all the network sites.
here is the solution : Edit your Header.php
//store the current blog_id - Use this function at the start of the function that you want to share
global $blog_id;
$current_blog_id = $blog_id;
//switch to the main blog which will have an id of 1
switch_to_blog(1);
//output the WordPress navigation menu - incase of menu-sharing use this
wp_nav_menu(
//add your arguments here
);
//switch back to the current blog being viewed - before ending of the function
switch_to_blog($current_blog_id);
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Global navigation in multisite: problem with categories
- How to create an automatic MultiColoumn MegaMenu with Categories WordPress
- WordPress Multisite – global categories
- Get posts from sites in Multisite?
- Using wp_category_checklist in a widget
- Multisite – Protect categories from deletion?
- Category page doesn’t use category.php, instead it redirects to homepage
- 5 blogs on one WordPress site
- How to remove the parentheses from the category widget
- Custom Nav Walker menu – Display category count
- Multisite blog converting categories to subdomains
- Reflect nested categories in appearance > menus
- How to create a widgetized sidebar for every category dynamically?
- Customizing Default Categories Widget
- Category menu item and its last 10 posts as sub-menu
- Adding categories to all blogs at once
- Display all posts with same title
- Is there a function to cause empty categories not to show in menus?
- I want to create a posts widget and be able to select categories
- Assign different category colours to different categories in the main menu
- WordPress MU 2.9.2 to 3.0.5 changes to category.php
- Keep active class in post page
- Auto add pages to category menu
- How to show empty category in admin menus search
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Display WooCommerce product categories in a 4 columns custom menu [closed]
- How to make category RSS feeds show full content
- Menus don’t work after 4.4 [closed]
- category permalinks
- Create menu / submenu from category subcategory and posts
- Post Count for Categories, however not to calculate a total
- How do I share categories across selected sites in a Multisite setup
- get_categories() returns “Uncategorised”
- wp_list_categories in in nav_menu
- Different menu navigation per category
- WP admin broken. Not saving catgories or adding categories to menu
- Creating Category Specific menus
- Custom Walker for wp_list_categories
- How do I make the category sidebar widget (stock) display the total # of posts including those in subcategories?
- Woo Framework: woo_cat_featured not populating
- wordpress multisite… collect all posts on main blog – exclude category?
- Categories widget show empty?
- Can Categories be used to hack a Multisite-like setup w/ a single MySql db?
- Is it possible to remove from default category widget?
- Create menu locations for each category in wordpress
- Building Menu from Woocommerce Product Categories
- Hooking to walker_nav_menu_start_el to insert list of subpages
- Show subcategories on a parent category page
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- how to remove the default title of Categories widget
- How to show 5 posts from specific category on related page?
- Give Children Unique ID’s
- Change div background acording to the selected category
- WordPress list categories dropdown with parent-child relation and child under it’s parent
- List a maximum of ‘x’ product categories with qty of ‘y’ in each column
- display a widget on specific category and its sub categories
- Multiple selection for wordpress widget
- Searching for a category returns nothing if category is empty
- function query_posts disabling current_page_menu class
- How to not display subcategories in Recent Posts widget area?
- Show different menu on each woocommerce category page
- Theme for subcategories
- Same menu for different taxonomies to reach different content
- Multiple categories for one menu item?
- How to get category id’s which are added in main menu?
- Tags Instead of Category
- Link from navbar to categories
- Pagination doesn’t work on multiple categories
- Theme modification for custom category menus
- Change appearance based on category but post is in two main categories
- How to hide widget from certain category
- wp_dropdown_categories initial value
- wp_nav_menu not appearing correctly on category page
- wp_list_pages() not showing on posts
- Is custom menu name and category name linked in wordpress?
- Last x Posted Categories?
- WordPress category filters as subcategories
- Categories show 404 error on multisite installation
- Custom menu with categories and tags
- How to automatically generate custom menu item from categories?
- WP-CLI Add category as menu item main-menu
- exclude certain categories form archive widget
- Duplicate new categories across multisite network
- Conditional widget for theme template file
- Categories are not available AT ALL under Menus
- Add filter for specific category only
- Exclude a category from block editor’s category widget
- How can I display the category name in the single post when using WP Blog and Widget?
- ADD DYNAMIC attribute for category to accordion
- How to remove an item from a custom Walker_Nav_Menu
- get_the_category return empty inside loop
- How to add all subcategories as submenu in WordPress menu
- Display menu in category and sub category
- WordPress category title not update in navigation menu
- Function add class to second menu specific items if the page has a certain category
- Dynamically display sub-categories on primary menu without adding them
- Show alternative menu based on page template AND post category
- Menu with category 2 category combined
- omit categories from main navigation menu