From: Laury GvR Date: Mon, 15 Jun 2015 19:29:30 +0000 (-0400) Subject: Shop: remove from nav Cat numbers, and cats when num <= 0 X-Git-Tag: v1.1.93^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2b44f23c321d1e9ffb98eeff3935ee1051a36cd1;p=WP-Themes%2Fgilmoremuseum.git Shop: remove from nav Cat numbers, and cats when num <= 0 --- 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']++;
  • +