Programatically Show Subcategories
We have an extensive category list. I looked that the Mega Menu video but it does't address it.
Is there a way to add a loop to a menu item that is a WooCommerce sub-category?
So if we added "BRANDS" as a top level category, all subcategories under the top level category called "BRANDS" can populate without having to build the entire menu manually in Appearance>Menus?
Comments
Hi,
You can use a Query loop to imitate menu items. In the wrap with Query loop enabled, put an element e.g. heading with title and permalink dynamic data.
Best regards