As a work around I am making a custom link URL #no-link with Label category name. This duplicates my work, but means that a parent category heading can be a null-link.
Any better ideas?
I’ve just come up against this, as well. Forgive my cluelessness, but can you describe your workaround in a little more detail?
Found the answer here:
Oh, that doesn’t really do it, it just sets up a link to #
Does your workaround make NO link?
If you’re using jQuery, one solution would be to target the link and remove the ‘a’ tag altogether. I’m using something like this and it works great, taking the links off only the parent categories.
Where in the template would you post this script – in the head element or somewhere within the nav div itself?
I know what you mean…and better yet…I have the solution!!!
It’s simple: Just add a ‘custom link’ to your menu. The url off that link doesn’t have to exist, it can be like ‘http://a’ or something. When you added this link, just go to that custom link in your menu, unfold it and delete the URL.
Now you have a category in you menu that is NO LINK!!!
- The topic ‘WP3 Integrated Menu #no-link’ is closed to new replies.