How to Add Unlinked Titles to WordPress Menus: A Detailed Guide

WordPress Website Menuis a part of website navigation that helps users quickly find the information they want. For some people who need toClearly organized complex menus, using unlinked titles (i.e., titles that don't point to any page) is a very effective method.

图片[1]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构

Why use unlinked titles in WordPress menus?

There are several advantages to using unlinked headings when designing a website, especially for sites with complex navigational structures. Here are some of the main reasons to use unlinked headings:

1. Organizationsubmenuclassifier for principles, items, clauses, tasks, research projects etc

2. Enhancing the user experience

3. Improving the navigation process

How to Add Unlinked Titles to WordPress Menu

图片[2]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构

Next, step-by-step process to add unlinked title in WordPress menu. By following these simple steps, you will also be able to do this easily.

Step 1: Go tomenu settings

  1. Log in to your WordPress dashboard.
  2. In the left navigation bar, find and click on the exterior condition > menu. This is where you manage and edit the site menu.
图片[3]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构

Attention: If you are using theblock theme(Block-based theme), then this may not work because block themes handle menus in a different way. Make sure you are using a theme that supports classic menus.

Step 2: Add a custom link

  1. exist menu settings page, find the Add menu item Region.
  2. locate Customized links option, click on it to expand the settings area. If you don't see this option, scroll up to the top of the page and click the Screen Options(top right corner), then check the Customized links checkbox to display the option.
图片[4]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构

Step 3: Setting the Temporary URL and Title Text

  1. exist Customized links to enter a temporary URL link. You can enter a well number (#), which will make the link a placeholder link to the current page that will not redirect the user to another page when clicked.
图片[5]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构
  1. exist link text field, enter the title text you want to display in the menu. This text will be part of the menu and is usually a category name or group title.
  2. When you have finished entering, click Add to menu Button.
图片[6]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构

Step 4: Remove the link URL to make it a non-linked title

  1. In the menu editing area, find the menu item you just added and click the small arrow next to it to expand the options.
  2. exist URL Remove the well number from the field (#), leaving the field blank. This way, the title no longer points to any page and becomes a completely unlinked title.
图片[7]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构
  1. When you're done, click Save menu button to save the changes you have made.
图片[8]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构

Tip: Leaving the URL field blank is the key, it will make the menu itemNo longer has any linking capabilitiesThe

Step 5: Add a submenu to the header

If you want to add a sub-menu item under that unlinked heading, the steps are as follows:

  1. exist Add menu item area, select the area you want to use as thesub-item (of program)page or customized link and click Add to menuThe
  2. Then, drag these sub-menu items below the unlinked header in the Menu Editor, making sure they're slightly offset to the right so they show up as drop-down sub-menu items (aka primary to secondary menus).
图片[9]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构
  1. When you're done, click again on Save menuThe

Step 6: Checking the Menu Effect

Finally, visit your site and check the effect of the menu. You should be able to see the unlinked title you have added. When clicking on this heading, the user will not be redirected to any page. If you have added sub-menu items, they will show up on mouse hover and the user can easily view and select the relevant sub-menu item.

图片[10]-如何在 WordPress 网站菜单中添加未链接的标题以优化导航结构

Frequently Asked Questions

The well number (#) is a placeholder that enables the link to exist without causing the page to jump. By setting it as a temporary link, you ensure that the title itself is not clickable.

If you're using a block theme, the menu may have been constructed via a completely new method. Therefore, this method may not work. You need to check if your theme supports traditional menu management features.

If you want to change the title of an already existing menu, just go back to the menu settings page and click on the small arrow next to that menu item to edit it. You can change the text, remove links or adjust the hierarchy of the menu item.

Of course! You can add icons or styles to the headings by customizing the CSS or using the WordPress menu item classes. For example, you can assign icons to each menu item to make the navigation look more attractive and functional.

concluding remarks

With these simple steps, you can easily add unlinked headings to your WordPress menus, which not only improves your site's navigational structure, but also enhances the user experience. Whether it's for organizing sub-menus or simplifying your site's structure, this method will help you create clearer and more efficient menus.


Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
Author: xiesong
THE END
If you like it, support it.
kudos5 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments