July 31, 2022 | Posted in WordPress
In this article, we will find how to add WooCommerce product Categories to the Menu or navigation bar. I spent an hour trying to find the product category option in the WordPress Menu section. Fortunately, I found the solution.
I assume you have already created a category.php page in the root directory of your WordPress theme. If not, go ahead and make that page.
According to your theme layout, place the following code on the category.php page.
<?php woocommerce_content(); ?>
Then go to the Menu setting section, and on top of this section, find the screen option; from there, select product categories.
Once done, you will see the product categories listed on the Add menu Item pan.
From there, select the select categories you want to add to the Menu.