Lütfen bana nerede yanlış gittiğimi söyle. Ürün özellikli resim gösterilmiyor. Bir ürünün öne çıkan görüntüsünü woocommerce hakkında nasıl edinebilirim?
$args = array('post_type' => 'product', 'posts_per_page' => 80, 'product_cat' => 'profiler', 'orderby' => 'rand');
$loop = new WP_Query($args);
while ($loop->have_posts()) : $loop->the_post(); global $product; ?>
<div class="dvThumb col-xs-4 col-sm-3 col-md-3 profiler-select profiler<?php echo the_title(); ?>" data-profile="<?php echo $loop->post->ID; ?>">
<img src="<?php get_the_post_thumbnail($loop->post->ID); ?>" data-id="<?php echo $loop->post->ID; ?>">
<p><?php the_title(); ?></p>
<span class="price"><?php echo $product->get_price_html(); ?></span>
</div>
Zaten bir çözümüm var arka ucuna
'$ ürün-> get_image ($ boyut, $ attr)' bunu biliyorum –