Killersites Community: Disable top level link - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Disable top level link

#1 User is offline   virtual 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 881
  • Joined: 29-December 08
  • 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
Lynne
180virtual
0

#2 User is offline   virtual 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 881
  • Joined: 29-December 08
  • 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??

This post has been edited by virtual: 08 October 2011 - 12:22 PM

Lynne
180virtual
0

#3 User is offline   virtual 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 881
  • Joined: 29-December 08
  • 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
Lynne
180virtual
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users