WordPress.org

Ready to get started?Download WordPress

Forums

Disable Parent Menu Link
Used to work (14 posts)

  1. jwk
    Member
    Posted 1 year ago #

    Worked great until I updated to v3.5. Too bad... great plugin.

    http://wordpress.org/extend/plugins/disable-parent-menu-link/

  2. passive-house
    Member
    Posted 1 year ago #

    Yes it was really usefull.
    Is there a way to edit the plugin to restore its function.

  3. passive-house
    Member
    Posted 1 year ago #

  4. Kapil Chugh
    Member
    Plugin Contributor

    Posted 1 year ago #

    I m really sorry for delayed feedback.

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

  5. passive-house
    Member
    Posted 1 year ago #

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

  6. fuzegraphics
    Member
    Posted 1 year ago #

    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.

  7. jwk
    Member
    Posted 1 year ago #

    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?

  8. alpha4
    Member
    Posted 1 year ago #

    Kapil, any chance you're fixing this?

  9. jwk
    Member
    Posted 1 year ago #

    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!

  10. Anshie
    Member
    Posted 1 year ago #

    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!

  11. Kapil Chugh
    Member
    Plugin Contributor

    Posted 1 year ago #

  12. Anshie
    Member
    Posted 1 year ago #

    Thank you so much! It's a big help. :)

  13. Kapil Chugh
    Member
    Plugin Contributor

    Posted 1 year ago #

    My Pleasure :)

  14. toscho
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.