How does WordPress add menus?Customize navigation bar display options

This article is "WordPress website building tutorial"Part 14 of a series of nine articles:
  1. What does WordPress mean?What are you doing?What can a website do?
  2. How much does it cost to build a personal/company website?Cost of building a business website
  3. How to choose the right domain name?Website Construction Domain Name Registration Recommendations & Principles
  4. NameSiloDomain Name Registration Tutorial (Send you $1 NameSiloPromo Code)
  5. What software is needed to build a website?What are the requirements for making your own website?
  6. NameSiloResolve Domain Name NS to Bluehost/SiteGround Tutorial
  7. How to manually build WordPress? WordPress Installation Tutorial
  8. How to log in to the WordPress backend? WP background login address
  9. How to use WordPress? WordPress background general settings & Chinese Title
  10. How to change language settings in WordPress?Change Chinese/English setting method
  11. How to Create a WordPress Category Directory? WP Category Management
  12. How does WordPress publish articles?Editing options for self-published articles
  13. How to create a new page in WordPress?Add/edit page setup
  14. WordPressHow to add menu?Customize navigation bar display options
  15. What is a WordPress theme?How to install WordPress templates?
  16. FTP how to decompress zip files online? PHP online decompression program download
  17. FTP tool connection timeout failed How to configure WordPress to connect to the server?
  18. How to install a WordPress plugin? 3 Ways to Install a WordPress Plugin - wikiHow
  19. How about BlueHost hosting?Latest BlueHost USA Promo Codes/Coupons
  20. How does Bluehost automatically install WordPress with one click? BH website building tutorial
  21. How to use rclone backup for VPS? CentOS uses GDrive automatic synchronization tutorial

WordPress 3.0 and above has added the ability to customize the navigation bar menu.

Most WordPress themes support custom navbar menu feature, you can freely set navbar menu for your website.

There are two main functions of adding important page links to the navigation bar menu:

  1. Can improve user experience.
  2. can improveSEOWeights.

现在Chen WeiliangJust to share with you: How to set up WordPress navigation menu?

How do I determine if a theme has a custom menu feature?

After enabling the theme,Log in to the WordPress backend → Appearance → Menu.

If you see what is shown below, the theme does not support custom menus, otherwise it does ▼

Current WordPress themes do not offer custom menus Sheet 1

WordPress Custom Navigation Menu

Before customizing the menu, you need to create the required article categories and pages.

To create article categories and pages, please refer to the following tutorial▼

WordPress Create & Settings Menu

Step 1:Go to the WordPress menu page

log inWordPress backend → Appearance → Menu ▼

Enter the WordPress menu page No. 4

  • Here you can create new menus and manage previously created menus.
  • If creating a new menu, please fill in the menu category name in the “Menu Name” input box.
  • Then click Save to create a new navigation menu location category.

step 2:Select topic location

  • We want to designate the menu as the navigation menu on the website.
  • Select topic location, check Primary Navigation ▼

WordPress Create Menu: Select Theme Location, Select Primary Navigation Sheet 5

  • Be careful not to check "Automatically add all top-level pages to this menu" ▲
  • In this case, every time a top-level page is created, it will be automatically added to the menu, but the menu has a limited width and will wrap after exceeding the width (affecting aesthetics).

Step 3:Add and Sort WordPress Menu Structure

Here is an example of creating a menu named "Menu 1" ▼

Adding and Sorting WordPress Menu Structure Sheet 6

  • Select the link you want to add from the left (page link, article link, custom link, category link) and add it to the menu.
  • (Actually, you can add any link here, for example, you can add a home page, and you can point to the home page URL through a "custom link")

Sort menu structure:

  • In the menu structure area, drag a menu item slightly to the right to quickly set up secondary and multi-level menus.
  • The effect of the setting is trapezoidal, that is, the secondary menu is more indented than the one above it.
  • There will be some grey "sub-project" signs after the navigation name.
  • After arranging the menus, click Save Menu.

WordPress menu options

WordPress menus hide some functions by default.

If you want to control more properties of the menu, click "Show Options" in the upper right corner of the screen to reveal hidden functions ▼

WordPress Menu Display Options Sheet 7

  • You can choose more menu item types.
  • For example: tags and articles, and advanced properties for display menus (link target, CSS class, link network, description).

WordPress menu item detailed settings sheet 8

Navigation Tabs:

  • The text of the link.

Title property:

  • is the value of the title attribute of the a tag, as shown in the image above"Chen WeiliangBlog Homepage".

CSS class:

  • Add a class to the menu item.
  • This menu item varies by css.
  • Chen WeiliangThe CSS of the blog homepage is added fas fa-home.

Link relationship network:

  • The rel attribute is added to the menu via the Linking Network (XFN).
  • If you don't want search engines to give this menu link weight, you can addrel="nofllow"attribute.

Link target:

  • Controls how menu links are opened.
  • For example, open in a new window (target="_blank"), or open in the current window (default).

Here is the code rendered by the web page based on the settings shown in the image above:

<a title="陈沩亮博客的首页" rel="nofollow" href="https://www.chenweiliang.com/"><i class="fa fa-home"></i><span class="fontawesome-text"> 首页</span></a>

WordPress menu management location

Below is the admin location at the top of the WordPress menu settings▼

How does WordPress add menus?Image 9 of custom navigation bar display options

  • The theme settings displayed in the admin location will vary depending on the theme used.
  • You can assign menus to each "topic location" setting, so that the navigation menu for each location displays different content.

This concludes the WordPress custom navigation bar menu tutorial.

Read other articles in the series:<< Previous: How to create a new page in WordPress?Add/edit page setup
Next Post: What is a WordPress theme?How to install WordPress templates? >>

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "How to add menus in WordPress?Customize Navigation Bar Display Options" to help you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-959.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top