From 2b44f23c321d1e9ffb98eeff3935ee1051a36cd1 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Mon, 15 Jun 2015 15:29:30 -0400 Subject: [PATCH] Shop: remove from nav Cat numbers, and cats when num <= 0 --- woocommerce/content-product_cat.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/woocommerce/content-product_cat.php b/woocommerce/content-product_cat.php index 9dd7d81..5101167 100644 --- a/woocommerce/content-product_cat.php +++ b/woocommerce/content-product_cat.php @@ -40,6 +40,9 @@ if ( empty( $woocommerce_loop['columns'] ) ) // Increase loop count $woocommerce_loop['loop']++; ?> + + +count > 0 ) { ?>
  • (' . $category->count . ')', $category ); ?> @@ -81,3 +81,4 @@ $woocommerce_loop['loop']++;
  • + -- 2.17.1