if woocommerce category page functions.php code example
Example: woocommerce if is category page
if( is_product_category() ) {
// yay, we are on a product category page!
} else {
}
if( is_product_category() ) {
// yay, we are on a product category page!
} else {
}