ProjectCleverWeb / Semantic-UI-WordPress

This project incorporates Semantic UI into a starter (aka developer) theme for WordPress.
Other
275 stars 59 forks source link

Menus don't display #24

Closed blinkcursor closed 9 years ago

blinkcursor commented 9 years ago

Testing SUI-WP on a clean WP install.

Have created a new menu and set it to display in both locations – Main menu & Footer menu – but it is not showing up in either.

ProjectCleverWeb commented 9 years ago

hmm, I can only reproduce this by adding menus that don't have any items.

Are you sure you saved your menu after you added the menu items?

blinkcursor commented 9 years ago

I've gone ahead and started over with a clean install again and this time it is showing the main menu, something must have slipped twixt download and install.

But... in menu locations there are Main Menu and Footer Menu. If I assign my menu to Footer Menu nothing shows up in the footer, although it sounds like it ought to. (You can see it at a temporary live site here: yoterraling.dollarwp.com)

ProjectCleverWeb commented 9 years ago

This is confirmed, the footer menu was never called. (although it should have been)

You can fix this in your current version with:

$menu = new \semantic\menu_walker;
$menu->display('footer-menu');

This will be fixed in develop soon