Support » Plugin: Disable Parent Menu Link » Used to work

Viewing 13 replies - 1 through 13 (of 13 total)
  • Yes it was really usefull.
    Is there a way to edit the plugin to restore its function.

    Plugin Contributor Kapil Chugh

    (@kapilchugh)

    I m really sorry for delayed feedback.

    I’ll check this issue on this weekend and will get back to you on Monday.

    With standard WP menus, the previous tip works.
    On my website: http://www.celloarte.org/ it’s ok without your great plugin.

    Thanks passive-house for the link to the tip.

    After you have added the link to your WP menu you can remove the #

    Then it becomes unclickable, the way it should work.

    That is a great tip, passive-house. Thanks! And thanks to fuzegraphics for the addition! I’m looking forward to trying those out.

    Now the only problem is getting the cursor to be default instead of pointer. A little javascript should do the trick… but might it be possible with only CSS?

    Kapil, any chance you’re fixing this?

    fuzegraphics, it worked! Thank you! Not only is the link unclickable, but the cursor is appropriately not the pointer that indicates it’s hovering over a link.

    Do we still need the plugin? Was this trick only made possible recently?

    So, just to summarize, one can in Appearance > Menus make a non-clickable menu item by creating a Custom Link with “#” as the URL. Once the item is added to the list of menu items, one can delete the # from the URL, leaving a blank URL. (Save the menu, of course.) Then the new item appears in your menu as unclickable text. Brilliant!

    Thanks again to both passive-house and fuzegraphics!

    I never used custom menus before (someone else made my website for me – I have only very basic knowledge) and can’t get it working. :/
    I would be very happy if this plugin would still be fixed. It was so very helpful!

    Plugin Contributor Kapil Chugh

    (@kapilchugh)

    Anshie

    (@anshie)

    Thank you so much! It’s a big help. 🙂

    Plugin Contributor Kapil Chugh

    (@kapilchugh)

    My Pleasure 🙂

    Please note, this plugin calls wp_print_scripts a second time. Every other plugin hooked to that action will be called twice now.

    And it doesn’t not enqueue a JavaScript file; it prints its code directly into every page, without even checking if there is a nav menu.

    Here is a PHP solution without these problems.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Used to work’ is closed to new replies.