2
商品ページのギャラリーのサムネイルの下にキャプションテキストを表示しようとしています。ギャラリーにはたくさんの画像があり、各サムはエンジンの一部であり、その名前がユーザーを助けるため、テキストを表示する必要があります。商品ギャラリーのキャプションをWooCommerceに表示
WooCommerce製品ページでギャラリーのためのコードは次のとおりです。
echo apply_filters('woocommerce_single_product_image_thumbnail_html', sprintf('<li data-thumb="%s">%s%s<a href="%s" class="%s lightbox" data-rel="ilightbox[product]" data-caption="%s" title="%s" alt="%s"><i class="fa-search-plus"></i></a></li>', $thumb_image, $image_html, $caption_html, $image_link, $image_class, $image_caption, $image_title, $image_alt), $attachment_id, $post->ID, $image_class);`
どのように私はそれを編集することができますか?または、何か解決策がありますか? ありがとう
完璧に感謝! – Cronico