Gallery

    [insert_php]
    $args = array(
    ‘post_type’ => ‘product’,
    ‘posts_per_page’ => 10,
    ‘product_cat’ => ‘top’
    );

    $loop = new WP_Query( $args );
    while ( $loop->have_posts() ) : $loop->the_post();
    global $product;
    $image = wp_get_attachment_image_src( get_post_thumbnail_id( $loop->post->ID ), ‘shop_catalog’ );

    echo ‘