Pilih Laman

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

how to create a wordpress 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.

create wordpress menu

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.

menu location in wordpress

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.

select page for menu

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.

select wordpress menu location

To view the changes, please access your website. The display will more or less look like the image below.

menu location

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.

set menu position

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.

create drop down 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.

create wordpress sub menu

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 DevelopmentMarketing, 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

add wordpress menu

Click Categories > View All, then check the categories you want to add to the sub menu.

adding a category to the 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.

save menu

In this step the process of adding categories on the menu has been successful, for its appearance it will look like the image below.

add a category to the menu

5. Add Links in the Navigation Menu

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.

add a link in the menu

Then put your custom link on the menu you want by dragging it, then press the Save Menu button to save the changes.

add a link in the menu

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.

edit the category menu

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.

delete menu

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.

create a new menu

Enter the name of the new menu, in this example The Second Menu, then click the Create Menu button.

add menu on wordpress

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.

add menu

So that the menu is at the bottom of the first menu, please check Secondary and click Save Menu.

save the second menu

Since the name of the menu will match the title of the article, please edit it so that the name is shorter.

shorten menu

Here is a look at the second menu that will lead to the article.

second menu

After completing this step, of course you will understand the placement of the menu to be added.

9. Add a Navigation Menu in the Sidebar

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

add menu in sidebar

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.

add recent articles menu

Enter the name of the menu in the Title section, then click Save to save it

save article menu

Here is what the menu looks like after saving.