Problem with inconsistent menus in WordPress block theme

[ad_1]

(Disclaimer: I fully disapproive of WP's block theme approach)

I'm developing a theme that uses facetWP, which is a tag, filtering plugin. It doesn't yet work too well with block themes. This means I have a theme that is part block theme and part OG PHP. This means I have an archive.php page.

Due to this factor, I have a separate header.php in this archive.php in addition to a header.html elsewhere.
Due to this I'm using wp_nav_menu in the header.php

So I edited the menu within my block theme by going to the Appearance | Navigation section. This successfully changed the menu that was displayed within header.html. However, it's not changing the menu that's using wp_nav_menu.

Question:

Wtf? How do I make the menus the same? Why aren't they the same? How does one resolve this?

[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