If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I have a new network I am building. It is an Intranet site for a state wide education network. I want the header and breadcrumbs to be consistent – but I’m not getting the results I’m looking for.
I have home/science – where science is a new network. Therefore Science curriculum can control the content on that site. HOwever, the navigation is using WP’s new navigation in the admin panel. Therefore, it wants me to build a new menu within my new network. My new network doesn’t contain all the categories et. all as my parent network. Is there a way I can put code right into the header.php for the navigation? The design of the header is consistent, including my logo, since I’m using the same theme. Just the links I put into the main page are gone.
I am also having a similar issue with my breadcrumbs. Instead of having home/child_site – child_site IS the home! Is there a way to hardcode “home” into the breadcrumb?
Thank you for any help. Networking is new to me! The possibility of having each curriculum area only see there stuff is very appealing and I hope I can get this to work!
I have deleted the breadcrumbs for now, I will deal with that later. However, I really need to know how to hardcode the header (navigation) into the theme.
OK, I even bought the html version of clean cut to try and get this done, but even that doesn’t work because it doesn’t bring the code to make the menue drop down. So, I’m really at a loss :(
Just replace following code in header.php with your html menu – you can view the source code of your site to get it.
<!-- Navigation for Pages starts here -->
wp_nav_menu( array( 'menu' => 'Main', 'menu_class' => 'nav', 'echo' => true,
'fallback_cb' => 'kriesi_fallback_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '',
'depth' => 0, 'context' => 'frontend'));
The topic ‘Created a network, but header doesn't work across the board.’ is closed to new replies.