O'Reilly logo

Web Designer’s Guide to WordPress: Plan, Theme, Build, Launch by Jesse Friedman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. Menus and Navigation

Before menus, dynamic navigation wasn’t fun. You’d typically list pages, then categories, and rely on their hierarchies and status to dictate the menus and the existence of nav items. It wasn’t easy to create custom navigation.

Today you can simply drag and drop nav items as you see fit. As a theme developer, you can define menu locations so the user admin can create menus and define where they will exist in the website. You can also customize the HTML that’s output when your menu is called in the theme. Effective use of menus in your theme will benefit the user admin greatly and make for a better product.

What you’re about to learn

• How menus and WordPress navigations function

• How to register menus

• Best practices ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required