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.

About Tom Johnson

Tom Johnson

I'm an API technical writer based in the Seattle area. On this blog, I write about topics related to technical writing and communication — such as software documentation, API documentation, AI, information architecture, content strategy, writing processes, plain language, tech comm careers, and more. Check out my API documentation course if you're looking for more info about documenting APIs. Or see my posts on AI and AI course section for more on the latest in AI and tech comm.

If you're a technical writer and want to keep on top of the latest trends in the tech comm, be sure to subscribe to email updates below. You can also learn more about me or contact me. Finally, note that the opinions I express on my blog are my own points of view, not that of my employer.