WordPress.org

Forums

Page Links To
Link to # (3 posts)

  1. Francesco Canovi
    Member
    Posted 3 years ago #

    Hello!
    I use this plugin to make the firs parent of a dropdown menu not linking to any page, redirecting the page to "#", but there is a problem: the slug of the page became # itself, and it cannot be modified. Some ideas about it? Thank you!

    http://wordpress.org/extend/plugins/page-links-to/

  2. Josh Levinson
    Member
    Posted 3 years ago #

    If the only reason you installed this plugin was to have a dummy parent menu, uninstall it. You can do this in WP's menu panel - just add a custom link whose URL is # and whatever title you want.

  3. Mark Jaquith
    WordPress Lead Dev
    Plugin Author

    Posted 3 years ago #

    joshlevinson is right, that you can use the WP native nav menus functionality to get a dummy parent item. As to making the "#" not go into the browser Location, that would require hooking in with Javascript and preventing the default action. I'm not sure it gives a lot of benefit. Having the # up there isn't harmful in any way that I can think of.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page Links To
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.