'',
'option' => ''
), $atts));
$idRand = "procat_".rand(100,9999);
global $wp_query;
// get the query object
$cat = $wp_query->get_queried_object();
// get the thumbnail id user the term_id
$thumbnail_id = get_woocommerce_term_meta( $cat->term_id, 'thumbnail_id', true );
// get the image URL
$image = wp_get_attachment_url( $thumbnail_id );
// print the IMG HTML
$term = get_terms( 'product_cat' );
?>
$number,
'orderby' => 'title',
'order' => 'ASC',
);
$product_categories = get_terms( 'product_cat', $args );
$count = count($product_categories);
$i = 1;
?>
0 ){
foreach ( $product_categories as $product_category ) {
$wthumbnail_id = get_woocommerce_term_meta( $product_category->term_id,'thumbnail_id', true );
$wimage = wp_get_attachment_url( $wthumbnail_id );
$cat_height = '';
if ($i == 7) {
$cat_height = 'cat-height2';
}
elseif ($i == 9) {
$cat_height = 'cat-width2';
}
?>
-
name); ?>
( count); ?> )
$number,
'orderby' => 'title',
'order' => 'ASC',
);
$product_categories = get_terms( 'product_cat', $args );
$count = count($product_categories);
if (isset($beau_option['header-fixed'])) {
?>