PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
widgets
<?php if(!class_exists('WooCommerce')) return; global $product; $current_product_id = $product->get_id(); if( !is_product() ) return; $product_brands = get_the_terms( $current_product_id, 'yith_product_brand' ); ?> <?php if ( isset($product_brands) && is_array( $product_brands)) : ?> <div class="tbay-widget-yith-banner-image"> <?php foreach( $product_brands as $term ) { $thumbnail_id = absint( yith_wcbr_get_term_meta( $term->term_id, 'thumbnail_id', true ) ); if ( $thumbnail_id ) { $image = wp_get_attachment_image( $thumbnail_id, 'full' ); if( $image ){ echo sprintf( '<a href="%s" class="brand-item">%s</a>', get_term_link( $term ), $image ); } } } ?> </div> <?php endif; ?>
[+]
..
[-] custom-menu.php
[edit]
[-] video.php
[edit]
[-] socials.php
[edit]
[-] instagram.php
[edit]
[-] product-brand-image.php
[edit]
[-] single-image.php
[edit]
[-] contact-info.php
[edit]
[-] banner-image.php
[edit]
[-] woo-carousel.php
[edit]
[-] recent-post.php
[edit]
[-] popup-newsletter.php
[edit]
[-] top-rate.php
[edit]
[-] list-categories.php
[edit]
[-] popular-post.php
[edit]
[-] .widgets.php
[edit]
[-] posts.php
[edit]
[-] recent-comment.php
[edit]