Sumber : How to Add Menus in WordPress Easily (niagahoster.co.id)
1. Create Your First Menu
The first step of how to add a menu in WordPress is to login to the WordPress dashboard. Then, make sure you already have a page for the menu to be created. Then, follow these steps.
Select the Appearance > Menus menu
To create a new menu please fill in the menu name in the Menu Name column, in this example we use the name of the First Menu, then click the Create Menu button.
Specify the location of your menu where it will be displayed. For the location of the menu, there are three options, namely primary, secondary, and social. The location and name are usually not the same for each template.
In the Pages section, please check the page you want to add on the menu to be created, then press the Add to Menu button.
Once the page is added to the menu, select the location of the menu you want to display, in this example we select the Primary location, then press the Save Menu button.
To view the changes, please access your website. The display will more or less look like the image below.
2. Sort the Created Menu
Once you’re done creating the menu, make sure the order is the one you want. If it is not appropriate, you can make settings by sliding the menu to the desired location, then click the Save Changes button.
3. Create a Sub Menu or Drop-Down Menu
A sub menu is a menu that has a menu on the inside, consisting of parent and child menus. A sub menu will appear when the mouse is hovered over the main menu.
Creating sub menus allows your website to have a good menu structure. How to create a sub menu in WordPress is the same as when you sort the menu locations. Please drag it to the location where you want to place it. Then click the Save Changes button to save the changes.
To create a sub menu, a maximum of three are recommended, if you want to add a lot of menus, you can create a mega menu, you just need to install the Max Mega Menu plugin.
4. Add Categories to the Menu
In addition to adding sub menus, you can also add categories to the created menu. For example, for the Niagahoster blog there are several categories such as Development, Marketing, and Design, please adjust to the category of your website.
Here’s how to create a menu in WordPress by adding categories. Select the Apearance menu > Menus
Click Categories > View All, then check the categories you want to add to the sub menu.
Drag the category at the bottom of the menu that you want to use as the main menu, in this example it is the Blog menu. After that please save the changes by pressing the Save Menu button.
In this step the process of adding categories on the menu has been successful, for its appearance it will look like the image below.
There are several options on how to create a menu in WordPress, in addition to adding categories in the menu, you can also add links in the navigation menu. For example, maybe you want to add a link to social media or other links.
To add it please select the Custom Links menu, enter your link in the FORM URL and the name of the menu in the Form Link Text. After that click the Add to Menu button.
Note: Make sure to link begin with http:// or https://, according to your link.
Then put your custom link on the menu you want by dragging it, then press the Save Menu button to save the changes.
6. Edit Menu
Usually for the menu of the category, it will follow the name of the category, in this example it is the Design category.
To change it please click on the triangle logo of the menu category you want to change, then in the Navigation Label section please change it according to the name you want. Don’t forget to save the changes by pressing the Save Menu button.
7. Delete Menu
You can delete the menu in the same way when you want to edit the menu. Please select one of the menus you want to remove, and then click Remove. Then click the Save Menu button to save the changes.
8. Understand the Menu Location
The navigation menu is one of the features possessed by WordPress. To change and perform menu settings of course you must have access to the WordPress dashboard. The appearance of the menu depends on the template used, so for each template has an unequal menu appearance.
For example when you want to add a new menu by selecting Appearance > Menus > create a new menu.
Enter the name of the new menu, in this example The Second Menu, then click the Create Menu button.
After that, select the part of the menu that you want to add, for example, you want to create a menu in the form of links to the most read articles. Please click Posts > View All > check the featured articles > Click Add to Menu.
So that the menu is at the bottom of the first menu, please check Secondary and click Save Menu.
Since the name of the menu will match the title of the article, please edit it so that the name is shorter.
Here is a look at the second menu that will lead to the article.
After completing this step, of course you will understand the placement of the menu to be added.
For the location of the menu, in addition to the header section, you can also add it in the sidebar section. How to create a menu in WordPress in the sidebar section is not much different from the previous way. Please follow the steps below. Click the Appearance > Widgets menu
Drag the widget you want to add to the Primary section, in this example is Recent Posts, serving to display a menu in the form of a list of recent articles.
Enter the name of the menu in the Title section, then click Save to save it
Here is what the menu looks like after saving.
Komentar Terbaru