| Server IP : 185.68.16.147 / Your IP : 216.73.216.182 Web Server : Apache System : Linux web789.default-host.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : jt292766 ( 1182) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/jt292766/konstruktbud.com.ua/www/wp-content/themes/consultstreet/ |
Upload File : |
<?php
get_header();
get_template_part('template-parts/site','breadcrumb');
global $woocommerce;
$shop_page_id = get_option( 'woocommerce_shop_page_id' );
$page_sidebar_layout = get_post_meta( $shop_page_id, '_sidebar_layout', true );
?>
<section class="theme-block">
<div class="container">
<div class="row">
<?php
if($page_sidebar_layout == 'left-sidebar'):
get_sidebar('woocommerce');
endif;
if($page_sidebar_layout == 'no-sidebar'):
echo '<div class="col-lg-12 col-md-12 col-sm-12>';
endif;
echo '<div class="col-lg-'.( !is_active_sidebar( "woocommerce" ) ?"12" :"8" ).' col-md-'.( !is_active_sidebar( "woocommerce" ) ?"12" :"8" ).' col-sm-12 wow animate fadeInUp" data-wow-delay=".3s">';
woocommerce_content();
echo '</div>';
if($page_sidebar_layout == 'right-sidebar' || empty($page_sidebar_layout)):
get_sidebar('woocommerce');
endif;
?>
</div>
</div>
</section>
<?php get_footer(); ?>