wp_nav_menu not parsing properly..? | WordPress.org

[ad_1]

Hi @wileycoyote78,

I investigated the issue locally, and I was able to reproduce it.

It happens if the theme location menu isn’t selected through the WordPress dashboard Menu page. In our case, the top menu (defined in the wp_nav_menu function arguments: 'theme_location' => 'top',).

Here are some helpful screenshots:

Please set the top location to the main menu as shown on (the bottom display location checkbox) and let us know if it works.

  • This reply was modified 1 hour, 2 minutes ago by aatanasov.

Never mind. In looking into the issue some more I saw some folks stating they had a similar problem when their WP was upgraded to 6.02 and said they had to delete the menu and build it again.

I didn’t think this would work because I did not create the menu that long ago.

In any case, I tried it, and everything is peachy keen.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer