How Do I Add the Top Menu Header in WordPress?

Adding a top menu header in WordPress is simple. All you need to do is add a line of code to your WordPress theme’s functions.

php file. Here’s how to do it:.

1. Find the functions.

php file in your WordPress theme folder.

2. Open it up and find the line that reads:

} else if ( is_front_page() ) {

3. Add the following line of code just before the } else if:

header_top();

4. Save the file and reload your WordPress site.

That’s all there is to it! Your top menu header should now be visible on all pages of your site.