One thing more WordPress bloggers have been doing lately is moving their categories over to a horizontal menu, rather than displaying them in the sidebar. Depending on the type of blog you run and how well you keep your categories organized, I think this can be a great idea to help manage the website and improve overall navigation. Doing something like this allows for a much better use of sub-categories, and gives you the option of displaying them in a drop-down to give your blog a much more professional feeling.

If you are interested in moving your WordPress categories into a menu and then displaying sub-categories in a drop-down menu, Anthology of Ideas has taken the time to write a detailed post explaining how to display WordPress categories in a horizontal drop-down menu. You can also view their menu to see if you like it. I recommend you check it out before attempting this on your own.

Of course doing this will require the use of Javascript, but the author does a great job of detailing the process and provides the CSS required to style it properly. Once you have everything up and running correctly, you can then adjust the colors and margins to give your new menu the look and feel you want it to have, as well as fully integrate it into your WordPress theme.

I like the idea of having the sub-categories be drop-down menus, but one downside I see is that displaying categories in a menu sort of eliminates using a traditional menu for your pages. It would be hard, in my opinion, to achieve a good look with more than one menu, so you then have to find a different way to display your blog pages. I think you are probably best off using this method mostly if you are trying to achieve a magazine-style look or some sort of a content management system (CMS).

What do you think of moving your categories to a menu and displaying your sub-categories in drop-down boxes?

Kyle Eslick is WordPress enthusiast who took his passion for WordPress to the next level in 2007 by launching WPHacks.com as a place to share hacks, tutorials, etc. Follow Kyle on Twitter @KyleEslick!

  1. K-IntheHouse says:

    That’s a cool link, Kyle! I was actually looking to do this with certain tags instead of categories. I am using categories in my Permalinks and with tags I can change and rename as I please and I can just pull in specific tags that would be useful to have in the top menu. It probably doesn’t even have to be a drop down menu for me but this post will be a good starting point.

  2. abu abdillah says:

    good, but i have problem about wp-dtree. i have try to install to my web, but it’s error. could you help me about that?

  3. Jeevan says:

    Great post. Thanks for the link. Was looking all over the net for it.