Navwalker not registering values

[ad_1]

I have developed a WordPress site with Bootstrap 5. It’s obviously still a work inprogress but I ran it through Lighthouse in Google devtools. I needed to change the viewport. Once I figured out how to do that and changed that line of code, the site on the mobile devices now shows a hamburger menu. I’m ok with that, but the problem is that the hamburger menu will not open on the mobile site.

Google pretty much mainly pointed to and jQuery not registering or a mixture of bootstrap classes of 4 and 5. I really function on my website and it said that jQuery is enqueued properly. Also my classes I double checked and I think that they are all version 5.

I do not know if this is the actual problem but I noticed something today that my navwalker array is not registering. I did this with the wp_die function. And the output was array(0).

So perhaps I am getting somewhere in my troubleshooting but I think that this is the start of something. I have registered my array in my functions.php file. I will attach a link with my functions.php code.

Can somebody please tell me what I did wrong? Thank you in advance.

[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