$number, 'orderby' => 'title', 'order' => 'ASC', 'hide_empty' => 0, 'parent' => 0 //'include' => $ids ); $product_categories = get_terms( 'product_cat', $args ); $count = count($product_categories); if ( $count > 0 ){ foreach ( $product_categories as $product_category ) { $cat_id = $product_category->term_id; $cat_link = get_category_link( $cat_id ); $thumbnail_id = get_woocommerce_term_meta( $product_category->term_id, 'thumbnail_id', true ); // Get Category Thumbnail $image = wp_get_attachment_url( $thumbnail_id ); if ($product_category->category_parent == 0) { ?>
  • '; } echo esc_html( $product_category->name ); ?>
  • name; // Get Category Name //echo $product_category->description; // Get Category Description ?>
    'page', 'post__in' => $pages, 'orderby' => 'post__in' ); $query = new WP_Query( $args ); if ( $query->have_posts() ) : $count = 1; ?>
    have_posts() ) : $query->the_post(); $vw_ecommerce_shop_n++; $vw_ecommerce_shop_slideno[] = $vw_ecommerce_shop_n; $vw_ecommerce_shop_slidetitle[] = get_the_title(); $vw_ecommerce_shop_slidelink[] = esc_url(get_permalink()); ?>

    'page', 'post__in' => $pages, 'orderby' => 'post__in' ); $query = new WP_Query( $args ); if ( $query->have_posts() ) : $count = 0; while ( $query->have_posts() ) : $query->the_post(); ?>