Dropdown menus in WordPress theme

by John Ankarström on May 24, 2009

in Design, Plugins

Dropdown Menus
If you got a page with many subpages, it’s great to have a dropdown functionality in the navigation bar. Let’s say you’re working on a guide, with several parts. The guide can have a primary page, that is shown in the navigation menu, plus 4 parts or subpages that is shown when hovering the primary link.

The first option is a plugin called Multi-level Navigation Plugin. This provides a dropdown navigation menu, with lots of options. Fill the settings page however you want, and use the code <?php if (function_exists('pixopoint_menu')) { pixopoint_menu(); } ?> where you want to use it. You must remove your current navigation bar, if you don’t want two bars.

The second alternative is creating dropdown menus by CSS. kristarella.com has got a great guide for doing this in the Thesis Theme.  She also shows a AJAX code so it works with Internet Explorer. It’s the one I use, and I think it’s the best option for me.

Spread some love:
  • Digg
  • StumbleUpon
  • Tipd
  • del.icio.us
  • Twitter
  • Facebook
  • Tumblr
  • Ping.fm
  • Google Bookmarks
  • Technorati
  • E-mail this story to a friend!
  • RSS

{ 1 comment… read it below or add one }

1 Sean Callahan August 11, 2009 at 6:13 pm

the kristilla link is broken, you forgot the http….you just have p

feel free to delete this comment

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: Redirection WordPress Plugin

Next post: Execute PHP code in posts with WordPress Plugin