WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Top-level navigation item should not link to page

[Resolved] Top-level navigation item should not link to page

  • Hi!
    in the menu bar i have parent menu items which are not supposed to link to any page but user should be able to click and link on the child menu.

    Now I have installed a plugin which is page list but I dont know what is shortcode, can somebody help me to solve the problem.
    Thanks
    Parag

Viewing 7 replies - 1 through 7 (of 7 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    Create a custom menu – then use the “Links” (from box on left side of menu screen) to add the top level nav items – once it’s in the menu, you can remove the URL (click on the flippy triangle on the menu item to modify that item.

    See: http://codex.wordpress.org/WordPress_Menu_User_Guide

    I don’t think you need a plugin. WordPress isn’t really set up to create non-linked parent menu items but here is the trick I use when I need to.

    If you haven’t already, maybe review this first: Appearance Menus.

    –While editing your menu, go to the Links box on the left sidebar. Type in a fake link address for ‘URL’ and the title of your dropdown menu item where it says ‘Link text.’

    –Drag your new link over to your menu and place it where you want it.

    –Click the top right arrow on that menu item to open up its options.

    –Delete the fake link address from the ‘URL’ field. (this stops it from being a clickable link, and means it’s only a dropdown menu parent)

    –Move your child menu items underneath the menu item you just created so that they become a dropdown menu.

    –Save your menu, make sure it’s assigned where you want, and check your site.

    Aside: Here is some information on shortcodes, though it may be more than you need.

    esmi

    @esmi

    Forum Moderator

    Uh? See WPyogi’s response above.

    Simulpost, @esmi.

    thanks Mr Lettergrade, many thanks to you it solved my problem so easily that i could not believe. many thanks to you Lettergrade once again.

    Awesome, very glad it’s all sorted out.

    Thank you from me as well lettergrade. What a simple solution! Worked perfectly.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Top-level navigation item should not link to page’ is closed to new replies.
Skip to toolbar