term_id, 'thumbnail_id', true ); if ( $thumbnail_id ) { $image_cat_url = wp_get_attachment_image_src( $thumbnail_id, 'full'); $image_cat_url = $image_cat_url[0]; $cat_image = aq_resize($image_cat_url, $catimgwidth, $catimgheight, true); } else { $cat_image = virtue_img_placeholder(); } if ( $cat_image ) echo '' . $category->name . ''; ?>
name; if ( $category->count > 0 ) echo apply_filters( 'woocommerce_subcategory_count_html', ' (' . $category->count . ')', $category ); ?>