4, 'orderby' => 'title', 'order' => 'ASC', 'hide_empty' => TRUE, ); $product_categories = get_terms( 'product_cat', $args ); $count = count($product_categories); ?>
    0 ){ foreach ( $product_categories as $product_category ) { if (function_exists('get_woocommerce_term_meta')) { $wthumbnail_id = get_woocommerce_term_meta( $product_category->term_id,'thumbnail_id', true ); }else{ $wthumbnail_id = ""; } $wimage = wp_get_attachment_url( $wthumbnail_id ); ?>
  • <?php print($product_category->name); ?>
    name); ?> ( count); ?> )