Jump to content


Photo

Disable top level link


  • Please log in to reply
2 replies to this topic

#1 virtual

virtual

    Advanced Member

  • Advanced Member
  • PipPipPipPip
  • 883 posts
  • LocationLa Jolla, California

Posted 07 October 2011 - 07:30 PM

Hi All,

I have run into this problem several times with Wordpress and never really found the solution.

I do not want the top level links with a drop downs to be a link to an actual page. So to remedy this my idea was to not create a page but use a custom link with # instead of the page name e.g. http://mysite.com/#/

This works fine as long as I am not on the home page, which opens to http://mysite.com/. On the home page I now have both links highlighted as active. How can I achieve this without the second link showing active?

Thanks
  • 0
Lynne
180virtual

#2 virtual

virtual

    Advanced Member

  • Advanced Member
  • PipPipPipPip
  • 883 posts
  • LocationLa Jolla, California

Posted 07 October 2011 - 08:38 PM

I thought I had figured it out, but I was wrong.

Anyone have any ideas??

Edited by virtual, 08 October 2011 - 12:22 PM.

  • 0
Lynne
180virtual

#3 virtual

virtual

    Advanced Member

  • Advanced Member
  • PipPipPipPip
  • 883 posts
  • LocationLa Jolla, California

Posted 08 October 2011 - 02:21 PM

So I found it on a wordpress.org forum:

To disable any parent item in WordPress 3.0 Menu:

1) Be sure you have activated the link target in the options menu on your menu page
2) Insert a custom link with no matter what link
3) select the just created custom link. click on the dropdown link on the top right side.
4) delete the link from the URL field
5) done
  • 0
Lynne
180virtual




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users