From: Laury GvR Date: Thu, 28 May 2015 16:59:33 +0000 (-0400) Subject: Local commit of Chuck's woocommerce change on dev55 X-Git-Tag: v1.1.32^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=6082c235ba18d1c70117890d551437c6e5439938;p=WP-Themes%2Fgilmoremuseum.git Local commit of Chuck's woocommerce change on dev55 --- 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 ); + ?> +

    + + + +
    + + + +