From 6082c235ba18d1c70117890d551437c6e5439938 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 28 May 2015 12:59:33 -0400 Subject: [PATCH] Local commit of Chuck's woocommerce change on dev55 --- woocommerce/content-product_cat.php | 83 +++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 woocommerce/content-product_cat.php diff --git a/woocommerce/content-product_cat.php b/woocommerce/content-product_cat.php new file mode 100644 index 0000000..9dd7d81 --- /dev/null +++ b/woocommerce/content-product_cat.php @@ -0,0 +1,83 @@ +slug, $excludeCats ) ) { + return; +} + + +// Store loop count we're currently on +if ( empty( $woocommerce_loop['loop'] ) ) + $woocommerce_loop['loop'] = 0; + +// Store column count for displaying the grid +if ( empty( $woocommerce_loop['columns'] ) ) + $woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 4 ); + +// Increase loop count +$woocommerce_loop['loop']++; +?> +
  • + + + + + + + +

    + name; + + if ( $category->count > 0 ) + echo apply_filters( 'woocommerce_subcategory_count_html', ' (' . $category->count . ')', $category ); + ?> +

    + + + +
    + + + +
  • -- 2.17.1