• Resolved paulalford

    (@paulalford)


    I want most of the parent pages in menu clickable, but 1 or 2 not…only those child menu items clickable.

    Is there a simple way or plugin or something to disable just 1 or 2 parent page links ?

    Thanks
    Paul

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you using a custom menu?

    Thread Starter paulalford

    (@paulalford)

    Thanks ! I didn’t even think of that. That does work, however, you have to put “something” in the (http:) line so WPress will add that to your menu first, then you can delete the actual link once its in your menu structure. I also found you have to put a “#” in the link blank or it will be live and take you back to the home page (which I didn’t want). I wanted to just KILL the active link to anywhere, which the “#” does.

    Thanks for getting me down that road. 🙂
    Paul

    Hey paulalford, can you clarify what you stated…

    “you have to put “something” in the (http:) line so WPress will add that to your menu first, then you can delete the actual link once its in your menu structure. I also found you have to put a “#” in the link blank or it will be live and take you back to the home page (which I didn’t want). I wanted to just KILL the active link to anywhere, which the “#” does.”

    I am not sure what you did there. Thanks!

    You can use jQuery (in a JavaScript file) to disable that link, or any other links that you want to disable.

    jQuery ('#link_id_here').click (function (e) {
        e.preventDefault ();
    })
    Thread Starter paulalford

    (@paulalford)

    Hi SloKenny

    Where are you missing the steps? You go to Appearance-Menu-Links (left hand side) and enter a “#” sign in the URL box. That will create the menu item to add to your actual menu, but it will not be hot.

    Still don’t understand, let me know.
    Paul

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable (1) Parent Link in Menu?’ is closed to new replies.