| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/glaza/woocommerce/global/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! is_shop() && ! is_product_category() ) {
return false;
}
if ( is_shop() ) {
$glaza_wc_sidebar_position = glaza_get_option( 'wc_shop_sidebar_position' );
$glaza_wc_sidebar_name = glaza_get_option( 'wc_shop_sidebar_name' );
} else {
$glaza_wc_sidebar_position = glaza_get_option( 'wc_archive_sidebar_position' );
$glaza_wc_sidebar_name = glaza_get_option( 'wc_archive_sidebar_name' );
}
if ( empty( $glaza_wc_sidebar_name ) ) {
$glaza_wc_sidebar_name = 'glaza_sidebar_default';
}
if ( ! empty( $glaza_wc_sidebar_position ) && 'none' != $glaza_wc_sidebar_position ) :
glaza_render_sidebar( $glaza_wc_sidebar_name );
endif;