WordPress provides you with a wide range of customization options and flexibility. Similarly, you are also free to whether or to not add titles in the WordPress Menu without any need to link them to a page.
This is useful when creating a clickable dropdown heading that isn’t a link, allowing users to view sub-menu items without being redirected.
Wondering how? Let us explain this in this guide we’ll walk you through the simple steps to add titles to your WordPress menu without linking them to a page.
So that you can enhance your site’s navigation and improve the user experience, especially on sites with complex menu structures.
Why Use Unlinked Titles in WordPress Menus?
For your confidence, given below are the reasons why should you go for Unlinked titles in WordPress Menus.
- Organize sub-menu items: A non-clickable title can act as a subcategory header, keeping menus visually clean and organized.
- Enhance user experience: Users won’t be redirected when clicking on main category titles, making it easier to browse related pages under the same category.
- Improve navigation flow: For websites with extensive content, non-clickable menu headers can help visitors locate content more intuitively.
Methods to Add Titles in WordPress Menu without Linking to a Page
Follow these simple, step-by-step guide to adding titles without links in WordPress menus.
Step 1: Go to the Menus Section in WordPress
- The first thing you need to do is to Go to your WordPress dashboard and look for Appearance on the left-hand side.
- Under Appearance, click Menus.
Note: If you don’t see Appearance > Menus, you might be using a block-based theme. Unfortunately, this method won’t work with block themes, as they handle menus differently.
Step 2: Add a Custom Link to Create the Title
- In the Add menu items section, look for Custom Links.
- If you don’t see Custom Links, scroll up to the top of the page and click on Screen Options (a tab in the top-right corner).
- Check the box for Custom Links to make this option visible.
Step 3: Enter a Temporary URL and Add Your Title
- In Custom Links, there are two fields:
- URL: Enter the hashtag symbol (#) here as a temporary link.
- Link Text: Type the title you want to appear in your menu.
- Once you’ve entered both, click Add to Menu.
Why enter a # in the URL? This makes it clickable initially but doesn’t take users to any page.
Step 4: Remove the URL to Make It a Non-Linking Title
- Now that the title is in the menu, click the dropdown arrow next to the new menu item to expand its options.
- Delete the # from the URL field, leaving it completely blank.
- Click Save Menu to apply the changes.
Pro Tip: Leaving the URL field blank removes any link from the title, so users can click on it without being taken to a new page.
Step 5: Add Sub-Menus Under the Title (Optional)
If you want, you can add sub-menu items under this title. To do this:
- In the Add menu items section, add other pages or custom links as sub-items.
- Drag these items slightly to the right, under the title, to make them appear as sub-menu items.
- Click Save Menu to finalize your changes.
Step 6: Check Your Site’s Menu
Visit your website to see the menu in action! The title will appear in your menu, but it won’t link anywhere when clicked. If you add sub-menu items, they’ll display as a dropdown when you hover over the title.
Wrapping it up!
To wrap it up, adding unlinked titles to your WordPress menu is a quick and easy way to make your site feel more organized and user-friendly.
By following these simple steps that we have mentioned above, you can help your visitors find what they’re looking for without any confusing clicks or dead-end links.
But one thing you should always keep in mind is to save your changes as you go and don’t hesitate to play around with your menu layout until it fits just right.
A well-thought-out menu makes a big difference for visitors, so take your time to create one that’s clear, easy to use, and inviting to explore.
If you have any queries or doubts regarding this post, please feel free to write us in the comment section below.
Rahul Kumar is a web enthusiast, and content strategist specializing in WordPress & web hosting. With years of experience and a commitment to staying up-to-date with industry trends, he creates effective online strategies that drive traffic, boosts engagement, and increase conversions. Rahul’s attention to detail and ability to craft compelling content makes him a valuable asset to any brand looking to improve its online presence.