| Server IP : 198.54.126.135 / Your IP : 216.73.216.217 Web Server : Apache System : Linux host11.registrar-servers.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : linearpo ( 12988) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/linearpo/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(); ?>