'; endif; // Left Sidebar if(esc_attr($bellini['bellini_woocommerce_sidebar_position']) == 'left'): echo '
'; endif; }else{ echo '
'; } } endif; /*-------------------------------------------------------------- ## WooCommerce Sidebar --------------------------------------------------------------*/ if ( ! function_exists( 'bellini_woocommerce_shop_sidebar' ) ): function bellini_woocommerce_shop_sidebar() { global $bellini; ?> '; endif; // Left Sidebar if(esc_attr($bellini['bellini_woocommerce_sidebar_position']) == 'left'): echo '
'; endif; dynamic_sidebar( 'sidebar-woo-sidebar' ); echo '
'; } } endif; /*-------------------------------------------------------------- ## Shop / Archive - WooCommerce Products Per Page --------------------------------------------------------------*/ add_filter( 'loop_shop_per_page', 'bellini_woo_product_per_page', 20 ); function bellini_woo_product_per_page( $count ) { global $bellini; return absint($bellini['bellini_woo_shop_product_per_page']); } /*-------------------------------------------------------------- ## Bellini WooCommerce Price --------------------------------------------------------------*/ if ( ! function_exists( 'bellini_woocommerce_template_loop_price' ) ): function bellini_woocommerce_template_loop_price() { global $product; ?>
get_price_html() ) : ?>
'; } function bellini_single_product_one_right(){ echo '
'; } function bellini_column_twelve(){ echo '
'; } if ( ! function_exists( 'bellini_product_cat_class' ) ) { function bellini_product_cat_class() { global $bellini; $classes[] = esc_attr($bellini['bellini_woo_shop_product_column']); $classes[] = 'woo__cat equal-height'; return array_unique( array_filter( $classes ) ); } } add_filter( 'product_cat_class' , 'bellini_product_cat_class' );