Forums › Forums › Menus › Make Menu Items with sub links not clickable (Multi-level Navigation Plugin)
- This topic has 7 replies, 3 voices, and was last updated 15 years, 8 months ago by imported_Ryan.
-
AuthorPosts
-
January 18, 2009 at 7:01 am #547AnonymousMember
Hi guys,
Is it possible to make menu items with sub links not clickable (Multi-level Navigation Plugin for wordpress) ?Thank you ” title=”Smiley” />
January 18, 2009 at 10:59 pm #4743imported_RyanMemberWith the custom code option you could I guess.
What situation would you want to do this for though?
March 5, 2009 at 10:40 pm #4744AnonymousMemberI have the same problem so I’ll explain why I want to do it.
On my current Joomla-based site (http://www.denverwaldorf.org), I have an "About DWS" menu containing a "Faculty Bios" menu which contains menu items for "High School", "Grade School" and "Early Childhood". If you click on "About DWS" or "Faculty Bios", it does not take you to a page. Those are just containers in the menu.
I want to migrate the site to WordPress and use your wonderful plugin. Is there a way to mimic my current site’s behavior?
Thanks!
March 8, 2009 at 4:49 am #4745imported_RyanMemberHi Kieran,
What you want is different to what devx wants I think. devx was referring to ‘sub links’, so presumably not the page parents which seems to be what you want to be non-clickable.The only way to do what you want to do currently is to use the custom code option. So the menu items would be static, ie: adding a new page to WordPress would not automatically add a page to the menu.
March 8, 2009 at 3:49 pm #4746AnonymousMemberI have tried this and got the same results as one of the pages that Ryan put up as an example of the multi-navigation plug. The website is "http://www.myette.net/". If you go to that page and look under "Services", there is a dropdown menu. The code you put in to make the link static in this case is "<li><a href="">Services</a>". Nothing in between the quotation marks is supposed to make it a static link (not able to be clicked on and not going to any page called "Services"), but it still can be clicked on. When you click on it, it just clicks to the same exact page you’re currently on. I did the same thing for a couple websites that I’m working on using this plug and it did the same thing. I wanted those Menu Items with dropdowns to not be able to be clicked on at all, just hovered over where a drop down would come down. But even when you add in that code it’s still clickable to the same exact page you’re on, albeit not a "Services" page. The question is making that "Services" link not clickable at all.
Any idea on how to do this Ryan? Thanks.
March 10, 2009 at 6:10 am #4747imported_RyanMemberYou could just remove the link and leave it as a plain list item, however the CSS generator does not work well with that approach. The new version of the CSS generator (which may not be available for quite a while yet) is able to do this. Otherwise I can do customisations for our Premium Support members (https://geek.hellyer.kiwi/premium_support).
March 13, 2009 at 7:20 am #4748benperrinMemberSo I’m guessing this option would be in there for future users. For example I would love to have all parent pages with children to be non-clickable, if that is a word. Not a huge deal for now though, just something that might make the menu a little better.
March 14, 2009 at 7:22 am #4749imported_RyanMemberI’ll look into adding support for that into the plugin once I get it working with the CSS generator (could be some time away though).
-
AuthorPosts
- You must be logged in to reply to this topic.