How to Add Titles in WordPress Menu Without Linking to a Page

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 to the WordPress menu without linking to a page.

Add WordPress Menu items without links

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 offer 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’.

Screen options in WordPress

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.

Add a custom link menu item

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.

Remove the hashtag sign and save menu

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.

Menu title preview without 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.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Lượt xem: 25

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *