UI Deploy

Curated, Short, Web UI Dev we Love.

Display Submenu Only On Parent Page

The in-built WordPress menu system allows the content author to create a menu by a simple drag n drop interface, it allows you to select existing posts, page or let you create custom links to add to the menu.

Using the drag n drop interface you can select child elements on the menu.

When you output the menu on your theme using the function wp_nav_menu() WordPress will automatically create the HTML for the menu and the sub-menu on your theme allowing you to easily create a menu link this.

view source

Advertisement