Support

Account

Home Forums General Issues add class to woocommerce single product template gallery thumbnails if media … Reply To: add class to woocommerce single product template gallery thumbnails if media …

  • You are missing the 3rd argument $icon

    
    echo wp_get_attachment_image( $image, $size, false, array ('class' => 'quick-ship' ) );