Are you looking for a way to add titles to the WordPress menu without adding a link?
By default, the WordPress menu requires each menu item to be linked to a page or custom link. However, when creating a dropdown menu, you may want to add a title for sub-menus without linking it to a specific page.
In this article, we will show you how to add titles in WordPress menu without linking to a page.
Why Add Menu Titles Without Linking to a Page?
WordPress offers multiple options to customize your website so that you can reach your target audience and offers an exceptional user experience.
To provide a smooth user experience, your WordPress website must have a well-structured navigational menu. It makes it easy for users to find content and different pages on your site.
When you add menu titles, WordPress requires each menu to have a link to a page or a custom link by default. However, you may want to show a menu title but not link to a page under certain situations.
For example, you can have a categories dropdown where you want the title text to be ‘categories’ for the menu but don’t need to add a link. When users click on categories, it will simply open a sub-menu in the dropdown.
That being said, let’s look at how you can add a title to the WordPress menu without linking to a page.
Adding WordPress Menu Title Without Linking to a Page
The first thing you need to do is add a new menu item to your menu. You can do that by going to Appearance » Menus from your WordPress admin panel.
Next, you want to add a custom link. You can see the ‘Custom Links’ options in the ‘Add menu items’ section.
If you don’t see Custom Links, then simply click the ‘Screen Options’ button on the top right corner of the screen. Next, check the box for ‘Custom Links’.
After that, you will need to enter a label or title for your menu item.
In the URL field, go ahead and enter the hashtag (#) symbol and click the ‘Add to Menu’ button.
Your menu item will now be added to the WordPress menu.
Next, you will need to click on the dropdown arrow next to this custom link to edit the menu item. Go ahead and remove the hashtag sign from the URL field and click the ‘Save Menu’ button.
You can add sub menus to this menu item and link them to any page or enter a custom link if you want.
Now, if you go to your WordPress blog, then you will see a menu item without a link.
We hope this article helped you learn how to add titles to the WordPress menu without linking to a page. You may also want to check out our guide on how to register a domain name and our expert picks for the best AI chatbot software for your website.