| Server IP : 216.106.184.20 / Your IP : 216.73.216.234 Web Server : LiteSpeed System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64 User : sekoaid1 ( 1891) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/sekoaid1/public_html/wp-content/themes/onepress/ |
Upload File : |
<?php
/**
* The template for displaying all pages WooCommerce page.
*
* @package OnePress
*/
get_header();
$is_active_sidebar = is_active_sidebar( 'sidebar-shop' );
$layout = onepress_get_layout();
$hide_breadcrumb = get_post_meta( wc_get_page_id('shop'), '_hide_breadcrumb', true);
/**
* @since 2.0.0
* @see onepress_display_page_title
*/
do_action( 'onepress_page_before_content' );
?>
<div id="content" class="site-content">
<?php
if ( ! $hide_breadcrumb ) {
onepress_breadcrumb( wc_get_page_id('shop') );
}
?>
<div id="content-inside" class="container <?php echo ( $is_active_sidebar ) ? esc_attr( $layout ) : 'no-sidebar'; ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php woocommerce_content(); ?>
</main>
</div>
<?php if ( $is_active_sidebar ) { ?>
<?php if ( $layout != 'no-sidebar' ) { ?>
<div id="secondary" class="widget-area sidebar" role="complementary">
<?php dynamic_sidebar( 'sidebar-shop' ); ?>
</div>
<?php } ?>
<?php } ?>
</div>
</div>
<?php get_footer(); ?>