WordPress Menu: Make a Menu Item in a Drop-down Menu Unclickable

I had been working on the thinkSJI.org site a few weeks back and was working to create a drop-down menu. I wanted a top level category with submenu items. This is a pretty simple thing to create in WordPress 3.0. The problem I was having though was that when created a top-level menu item (on that site it was my “‘Threats’ Initiative” link) it was a clickable link. I didn’t want it to be a clickable link, I just wanted it to serve as a header, not as a gateway to another page.

To make your top level menu item in a drop-down menu unclickable, do the following (this is assuming you are using a custom menu for navigation, if you aren’t you need to create one):

  1. Go to Appearance->Menus
  2. Go to the Custom Links box
  3. In the URL area, put ‘#’ (just the pound sign, not the apostrophes)
  4. In the Label area, put the name of the menu item you’d like to create
  5. Click the ‘Add to Menu’ button
  6. Move your link item to where you would like it and nest the submenu items underneath
  7. Save the menu and test it out on the front end of your site

Written By: Aaron Manfull