How Do I Add Two Menus in WordPress?

When you want to add a menu to your WordPress website, there are a few things you need to do. First, create a menu item. This can be as simple as a text link or an image.

Once you’ve created your menu item, you need to add a line to your WordPress theme’s functions.php file. The line you need to add looks like this:.

add_action( ‘admin_menu’, ‘my_menu_item’);

Now you just need to create your my_menu_item function. This function will take two arguments: the menu item name (in this case, “Menus”) and the menu item’s slug (in this case, “Menu 1”).

You can also use arguments to modify the appearance of your menu item. For example, you might want to change the text color or the font size.

The final step is to add your menu item to the WordPress admin menu. To do this, go to the Widgets page and click on the “Add New” button. In the “Widget Type” drop-down menu, select “Menu Item.” Then, in the “Name” field, enter the name of your menu item.

In the “ slug” field, enter the name of your menu item’s slug. Finally, in the “Attributes” field, select the “Display” option and select “Menu Item.”.

Now your menu item will be visible in the WordPress admin menu. To add your menu item to the WordPress front-end, go to your WordPress website’s front-end and click on the “Pages” menu item. In the “Menu Item” drop-down menu, select “Menus.” Then, in the “Add New” drop-down menu, select “Menu Item.

” In the “Name” field, enter the name of your menu item. In the “ slug” field, enter the name of your menu item’s slug.

Now your menu item will be visible on your website’s front-end. If you want to add a link to your menu item on your website’s front-end, simply enter the menu item’s slug in the address bar of your browser.