| Server IP : 213.142.137.24 / Your IP : 216.73.216.122 Web Server : Apache System : Linux ns1.medyayapim.net 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 2020 x86_64 User : dgpilates.com_ooz9p0tadyh ( 10028) PHP Version : 8.0.30 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/dgpilates.com/httpdocs/wp-content/themes/bosa/ |
Upload File : |
<?php
/**
* The template for displaying archived woocommerce products
*
* @link https://docs.woocommerce.com/document/third-party-custom-theme-compatibility/
* @package Bosa
*/
get_header();
?>
<div id="content" class="site-content">
<div class="container">
<section class="wrap-detail-page ">
<?php if( bosa_wooCom_is_product_page() || bosa_wooCom_is_shop() ){
if( ( bosa_wooCom_is_product_page() && !get_theme_mod( 'disable_single_product_title', true ) ) || ( bosa_wooCom_is_shop() && !get_theme_mod( 'disable_shop_page_title', false ) ) ){ ?>
<h1 class="page-title">
<?php woocommerce_page_title(); ?>
</h1>
<?php } ?>
<?php }else{ ?>
<h1 class="page-title">
<?php woocommerce_page_title(); ?>
</h1>
<?php } ?>
<?php
if( !bosa_wooCom_is_product_page() ){
if( get_theme_mod( 'breadcrumbs_controls', 'show_in_all_page_post' ) == 'disable_in_all_pages' || get_theme_mod( 'breadcrumbs_controls', 'show_in_all_page_post' ) == 'show_in_all_page_post' ){
bosa_breadcrumb_wrap();
}
} ?>
<div class="row">
<?php
$getSidebarClass = bosa_get_sidebar_class();
$sidebarClass = 'col-12';
if( !bosa_wooCom_is_product_page() ){
$sidebarClass = $getSidebarClass[ 'sidebarClass' ];
if( !get_theme_mod( 'disable_sidebar_woocommerce_shop', false ) ){
bosa_woo_product_detail_left_sidebar( $getSidebarClass[ 'sidebarColumnClass' ] );
}
}
?>
<div id="primary" class="content-area <?php echo esc_attr( $sidebarClass ); ?>">
<main id="main" class="site-main post-detail-content woocommerce-products" role="main">
<?php if ( have_posts() ) :
woocommerce_content();
endif;
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
if( !bosa_wooCom_is_product_page() ){
if( !get_theme_mod( 'disable_sidebar_woocommerce_shop', false ) ){
bosa_woo_product_detail_right_sidebar( $getSidebarClass[ 'sidebarColumnClass' ] );
}
} ?>
</div>
</section>
</div><!-- #container -->
</div><!-- #content -->
<?php
get_footer();