• Resolved hj

    (@hj)


    I want to have child pages beneath a main menu link called ‘About’….because there are several different things to talk ‘about’. This means that I don’t want the main menu ‘About’ link to a page, I just want it to trigger the dropdown of child pages which WILL go to pages. Effectively, ‘About’ will be a null link.

    But how do I create such a link and add it to my main menu? The menus interface in WordPress seems totally geared to pages – if you don’t have a page you can’t have a link (unless it’s a custom, outside link).

    Basically, in some situations, I don’t want a top level menu item to link to a page – but I do want it to trigger a dropdown of child links.

    How do I do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Create a “custom links” item and use # as the URL. This will create a dummy link that does nothing, but will provide a place to hook the sub-menu items.

    View post on imgur.com

    If you don’t see “custom links”, click display options at the upper right to enable them.

    Thread Starter hj

    (@hj)

    Aha! The hash sign! Simple when you know! Thanks Steve, excellent tip.

    cheers

    Great info! I was struggling with this and used https://? which didn’t work correctly especially with Safari.

    I agree EXCELLENT tip. Now maybe some of the hair I pulled out will grow back.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating null links in menu’ is closed to new replies.