... Skip to main content
Woocommerce

WooCommerce: Display Product categories on Shop

By September 7, 2024No Comments1 min read
display categories links on shop page 1

By default, Categories links are not display at WooCommerce shop page. So today i going to tell you, how can we display category links at shop page. for that, we will use wc_get_product_category_list() function which is given all category list to show on products at shop page. Also, you can check the below Code snippet.

PHP Snippet: Show Product Categories’ Links @ Shop Loop Item

Where to add custom code?

You can add this custom php code in functions.php file of your child theme. Also you can use any third-party code snippet plugin to add this code to your site.

This code still works, unless you report otherwise. To exclude conflicts, temporarily switch to the Storefront theme, disable all plugins except WooCommerce, and test the snippet again.

Leave a Reply

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.