Server IP : 213.176.29.180  /  Your IP : 18.221.97.20
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/webtaragh/public_html/wp-admin/../wp-content/themes/sassico/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/wp-admin/../wp-content/themes/sassico/woocommerce.php
<?php
get_header();

if(is_shop()){

	get_template_part( 'template-parts/banner/content', 'banner-woo' );

}elseif (is_single()){
	get_template_part( 'template-parts/banner/content', 'banner-woo-single' );
}

$sidebar = sassico_option('medizco_woo_shop_page_setting','fluid');

$sidebar_enable_class = 'col-md-12';

if($sidebar != 'fluid'){
	$sidebar_enable_class = 'col-md-8';
}

?>
	<div class="woo-xs-content">
		<div class="container">
			<div class="row">
				<?php
				if ( is_active_sidebar( 'sidebar-woo' )  && !is_product()) {
					if($sidebar == 'lidebar'){
						get_sidebar( 'woo' );
					}
				}
				?>
				<div id="content" class="<?php echo esc_attr($sidebar_enable_class); ?>">
					<div class="main-content-inner wooshop clearfix">
						<?php if ( have_posts() ) : ?>
							<?php woocommerce_content(); ?>
						<?php endif; ?>
					</div> <!-- close .col-sm-12 -->
				</div><!--/.row -->
				<?php
				if ( is_active_sidebar( 'sidebar-woo' )  && !is_product()) {
					if($sidebar == 'rsidbar'){
						get_sidebar( 'woo' );
					}
				}
				?>
			</div><!--/.row -->
		</div><!--/.row -->
	</div><!--/.row -->


<?php get_footer(); ?>