How can I prevent a main menu item with sub items from being clickable in Wordpress?

One option would be to use Page Links to plugin and set the main link as I tried this and it works in my blog.

One option would be to use Page Links to plugin and set the main link as '#' . I tried this and it works in my blog.

Great answer! This is exactly what I needed with no hacking. I'm new to WP so i'm not familiar with all of the popular plug-ins the kids are using these days :) thanks!

– DJTripleThreat Jun 5 '09 at 3:42.

What about using the jQuery. Remove to remove the element? Something like this: function removeLinkAttrib() { var attrib = jQuery(#menus).

Find("a"). Attr("Photos and Results"); jQuery(attrib). Remove; } I'm not sure if $(attrib).

Remove; will work, but you get the picture :).

Thanks for the answer but I wanted to avoid using a hack. One of the issues that I was having was when I would try to reference a js file that had jquery in it, it would be inserted into the html BEFORE jquery.js... so as you would expect, I would get a js error because $ or jQuery wasn't defined. Thanks anyway!

– DJTripleThreat Jun 5 '09 at 3:47.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions