wp_nav_menu still wraps <ul> with a <div> even though its set to false

[ad_1]

Hello I am working on a theme. I use local flywheel to run it locally. I created a new local site and just renamed it. I then copied the app/sql and app/public folder to this *new* local site. Problem is my wp\_nav\_menu in the new folder is still generating a container for some reason, even though thats not the case in the older version. **This is causing the menu to come out in a column instead of a row.** Any ideas?

Here is my code for the menu in my header.php file

<?php
wp_nav_menu(
array(
‘menu’ => ‘Menu name here’ ,
‘theme_location’ => ‘header-menu’,
‘container’ => false,
‘menu_class’ => ‘site-nav-list’,

)
);
?>

&#x200B;

[Old header that I want])

&#x200B;

&#x200B;

[What is happening?])

[ad_2]

 

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