Make Menu Items with sub links not clickable (Multi-level Navigation Plugin)

Forums Forums Menus Make Menu Items with sub links not clickable (Multi-level Navigation Plugin)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #547
    Anonymous
    Member

    Hi guys,
    Is it possible to make menu items with sub links not clickable (Multi-level Navigation Plugin for wordpress) ?

    Thank you <img decoding=” title=”Smiley” />

    #4743

    With the custom code option you could I guess.

    What situation would you want to do this for though?

    #4744
    Anonymous
    Member

    I 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!

    #4745

    Hi 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.

    #4746
    Anonymous
    Member

    I 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/&quot;.  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.

    #4747

    You 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).

    #4748
    benperrin
    Member

    So 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.

    #4749

    I’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).

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.