How to fix the header menu not showing on some WooCommerce pages?
-
Hi,
I developed a WP classic theme locally with sample WooCommerce
via Chrome dev tools, I noticed that WordPress automatically put a wrong header menu in some WooCommerce pages instead of displaying my custom header menu as in the other pages (as shown on the screenshot)<nav class="woocommerce-breadcrumb" aria-label="Breadcrumb"> ................ </nav>
My custom header menu does not display on the following WooCommerce pages:
- Shop page
- Product page
- Category page
- Tag page
The footer menu always shows up
The footer menu is implemented through a widget
The header menu is implemented via a Boostrap navwalker, then I referenced it on my front-page.php
I don’t understand why the header menu does not show on the pages mentioned aboveAfter doing a conflict test, the problem is caused by my theme
Due to this, visually these pages do not look as good as the other pages of this sample website of mine
How do I display my custom header menu everywhere on my website?
- The topic ‘How to fix the header menu not showing on some WooCommerce pages?’ is closed to new replies.