$brand ) : /** * Filter the brand's thumbnail size. * * @since 9.4.0 * @param string $size Defaults to 'shop_catalog' */ $thumbnail = wc_get_brand_thumbnail_url( $brand->term_id, apply_filters( 'woocommerce_brand_thumbnail_size', 'shop_catalog' ) ); if ( ! $thumbnail ) { $thumbnail = wc_placeholder_img_src(); } $class = ''; if ( 0 === $index || 0 === $index % $columns ) { $class = 'first'; } elseif ( 0 === ( $index + 1 ) % $columns ) { $class = 'last'; } $width = floor( ( ( 100 - ( ( $columns - 1 ) * 2 ) ) / $columns ) * 100 ) / 100; ?>
  • <?php echo esc_attr( $brand->name ); ?>
    description ) ) ); ?>