How to Create a WordPress Menu Link That Isn’t Clickable

Get a free WP Checkup Today!
Get a completely free health check of your WordPress site, no email or signup required.

Here’s a simple tip that may be useful to you if you’re just getting started with creating your own WordPress site. Sometimes when you’re setting up a dropdown menu with the built-in WordPress menu system you may want the top level item to be unclickable although still show the subnav items beneath.

On the links that you don’t want to be clickable, you’ll want to create a custom link and set its href attribute to “#”. To be clear, it’s not that you cannot click this link. Rather, it’s that it doesn’t go anywhere or take you away from the current page.

This is very easy and your dropdown menu should work as expected.

Get a free WP Checkup Today!
Get a completely free health check of your WordPress site, no email or signup required.