Jump to content
Sign in to follow this  

Disable Parent Level Nav Link, an elegant way...!

Recommended Posts


Hi, just want to share a sweet tip for those who need. I tried to disable the parent level nav link in menu bar, and I found a good way. 1. install "[link]http://wordpress.org/extend/plugins/disable-parent-menu-link/[/link]" 2. edit the plugin, change the line

	jQuery("ul (li.menu-item):has(ul.sub-menu)")
	 jQuery("ul (li.menu-item):has(ul.children)")

3. enable the plugin, that's it! thank me!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this