Search results

New Menu Navigation System in WordPress 3.0

by Tom Johnson on Jun 9, 2010
categories: technical-writing wordpress

This comprehensive post by Justin Tadlock, Goodbye, headaches. Hello, menus!, covers the new menu system in WordPress 3.0 in depth. I've been using the new menu system on some WordPress 3.0 sites, and I have to say it looks like one of the best new features in 3.0. You can drag and drop categories, pages, and external URLs directly onto a navigation bar.

As an example, I upgraded the navigation on to 3.0.  It combines static pages, such as About and Contact, with categories, such as Blog, Jobs, and Events. The menu links are generated dynamically rather than coded statically, which allows you to make custom styles for the active link. Previously, about the only way to do this was by creating page templates and then inserting post code (the loop) in them, which always screwed up the next/previous navigation for me.

With 3.0, you can make as many navigation bars as you want, and place them wherever you want. For example, you can make a side menu that differs from the main menu, and you can add that to your sidebar. Add this new navigation with the Widget Logic plugin, and you can easily conditionalize the appearance of that side navigation so that it only appears on certain pages, categories, or posts.

Sponsored content

Buy me a coffeeBuy me a coffee