| Server IP : 14.225.204.176 / Your IP : 216.73.216.6 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/fe2tech/wp-content/themes/contio/ |
Upload File : |
<?php
/**
* Custom Woocommerce shop page.
*/
get_header();
if( (class_exists( 'WooCommerce' ) && is_shop()) || (class_exists( 'WooCommerce' ) && is_product_category()) ) {
$sidebar_pos = (isset($_GET['sidebar-shop'])) ? trim($_GET['sidebar-shop']) :contio_get_opt( 'sidebar_shop', 'right' );
} else {
$sidebar_pos = 'none';
}
?>
<div class="container content-container">
<div class="row content-row">
<div id="primary" <?php contio_primary_class( $sidebar_pos, 'content-area' ); ?>>
<main id="main" class="site-main" role="main">
<?php woocommerce_content(); ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php if ( is_active_sidebar( 'sidebar-shop' ) && 'left' == $sidebar_pos || is_active_sidebar( 'sidebar-shop' ) && 'right' == $sidebar_pos ) : ?>
<aside id="secondary"<?php contio_secondary_class( $sidebar_pos, 'sidebar-fixed widget-area' ); ?>>
<div class="sidebar-sticky">
<?php dynamic_sidebar( 'sidebar-shop' ); ?>
</div>
</aside>
<?php endif; ?>
</div>
</div>
<?php
get_footer();