The mobile version of the main menu is no longer showing the menu structure I build which is fine on the desktop version of the site. Instead, the mobile version is showing a listing of my site’s pages-all of the site’s pages, even ones that I don’t want exposed. There are 4 pages tagged as private (meant for logged in subscribers). These pages SHOULD show in the main menu, but don’t on the mobile menu (they do in the desktop version of the site).
]]>The weird thing is that the menu structure page is still there and able to configure but it has a completely different interface to the page and won’t let me configure the order by drag and drop. I can still add content to the menu and create new menus and such I just can’t configure it. Is there a setting I need to activate or anything?
]]>I’m running on WordPress 3.8 on a dedicated server.
I’ve disabled ALL My plugins
I’ve changed the them
I don’t know to do guys. My go live date is supposed to be 2 days. Yeah right.
Any help would be greatly appreciated.
]]>Thanks for the help guys! And let me know if this should be in a different subforum.
]]>I have registered two menus in my theme using the following code:
register_nav_menu('main', 'Main Navigation Menu');
register_nav_menu('sub', 'Sub-Navitation Menu');
When calling the registered menu within the wp_nav_menu()
function, I use the theme_location
argument. It works perfectly if both menu are created and assigned to each registered menu location.
If there are no menus, the fallback_cb
argument allows me to create a function to set a default state, which is great.
The problem occurs if no menu is assigned to a specific registered menu location. If only one menu has been created, both locations display it whether it was assigned to that location or not.
I looked at the nav-menu-template.php
file and it seems that the process for getting the nav menu works like this:
1. Get the nav menu based on the requested menu name
2. If no menu, get the nav menu based on the theme_location
3. Get the first menu that has items if we still can't find a menu
4. If a menu exists, get its items
5. If no menu was found or if the menu has no items, call the fallback_cb
If a menu has been registered and no menu has been assigned to it, it seems like it should default to the fallback_cb
as opposed to get the first menu that has items
.
I was admiring the show case sites and came across the Harvard newletter site at https://www.ads-software.com/showcase/harvard-gazette-online/.
Would anyone know how they did the slide show that had the content links on the right side? Is that a plugin or ?
As well, they had a cool menu system at the top, that persisted and drilled down as they went page to page internally. Would anyone know how that was done?
cheers!
]]>