Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

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

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

1 Answer

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
add comment

Your Answer

 
discard

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.