wp-bootstrap-navwalker icon indicating copy to clipboard operation
wp-bootstrap-navwalker copied to clipboard

Fallback for menu with no content doesn't work.

Open B1gJ4k3 opened this issue 11 years ago • 3 comments

If I implement this, but don't create any menu content, I would expect it to use the default fallback of wp_page_menu, but it doesn't seem to work. It just get empty list items with blank links.

I see that there's a fallback function in the code, but it also doesn't seem to do anything...

B1gJ4k3 avatar Jul 22 '15 23:07 B1gJ4k3

The wp_page_menu fallback doesn't respect custom walker classes so in this case it would cause things to break.

The custom call back is setup so if your logged out you should see nothing, if your logged in you will see a link to the menu admin to select a menu.

SideQuestDIY avatar Jul 24 '15 21:07 SideQuestDIY

We could look into offering a second fallback option to output the default wordpress page list.

bhubbard avatar Mar 14 '17 21:03 bhubbard

I'm going to close out this issue as the fallback menu does work. For thoughts on the idea of a 2nd fallback containing a page list we could open a dedicated issue thread for that if that was still something people were interested in pursuing.

pattonwebz avatar Aug 31 '17 15:08 pattonwebz