How Do I Add Another Menu Bar in WordPress?

Adding a menu bar in WordPress is simple. First, locate the header.

php file in your WordPress site. This file contains all of the site’s header information, including the menu bar.

To add a menu bar, locate the following line in header.php:

and change it to the following:

‘my-menu-bar’, ‘container’ => ‘header-main’, ‘container_class’ => ‘my-menu-bar-container’ ) ); ?>

Now, locate the following line in header-main.php:

‘my-menu-bar’, ‘container’ => ‘header-main-area’, ‘container_class’ => ‘my-menu-bar-container’ ) ); ?>

Your menu bar should now appear in the header area of your WordPress site.