2014-12-30 3 views

답변

36

이 시도 :

<?php 
    global $product; 

    $attachment_ids = $product->get_gallery_attachment_ids(); 

    foreach($attachment_ids as $attachment_id) { 
     echo $image_link = wp_get_attachment_url($attachment_id); 
    } 
?> 
+0

안녕 gaurav, 그것의 특색 지어진 심상 URL, 나는 제품 화랑 심상의 URL를 원한다. – Jishad

+0

지금 확인하고 알려주세요. –

+0

오직 하나의 이미지 URL을 얻는 것 – Jishad

관련 문제