Jump to content
Sign in to follow this  
gavred

Create unclickable links in the navigation menu

Recommended Posts

gavred

Hi Guys, I was just wondering if it is possible to create un-clickable links in the navigation menus. I'd like to have it so that I can select which parts of the nav menu are active links. Thanks, Gavin.

Share this post


Link to post
Share on other sites
gavred

Hi Guys, Just in case anyone else was wondering how to make links in the menu un-clickable... This is one simple method. Download the "Page Links To" plugin. Once installed and activated a small box appears at the bottom of every edit page in the WP backend. Then you just need to add in the following: the link to a site and then... onclick="return false inside a href brackets. I tried to add the exact code but there but it kept coming up blank...Not sure whats up there? And the link becomes unclickable. Hope this helps someone.

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  

×