WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use the dynamic menu of wordpress! So I try to create an dropdown based on category, my question is... I need to block the first (title/category name) for being access .... right now it will take a page with all post of that category, I only need to display the categories in the menu but users cannot click on it!!

Do you guys know which function I should use in order to do that?

Kind Regards

share|improve this question

migrated from stackoverflow.com Feb 28 '11 at 4:07

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Use a # for the URL in a Custom Links item and then the menu item will not link anywhere, but can be used for a top menu item. See http://codex.wordpress.org/WordPress_Menu_User_Guide

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.