This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Mushi_Web/src/woocommerce.php

43 lines
1.1 KiB
PHP
Raw Normal View History

<?php get_header(); ?>
<?php
$sidebar = 'right-sidebar';
$sidebar_class = '';
if( $sidebar == "left-sidebar" || $sidebar == "right-sidebar"){
$sidebar_class = "sidebar-included " . $sidebar;
}else if( $sidebar == "both-sidebar" ){
$sidebar_class = "both-sidebar-included";
}
?>
<div class="content-wrapper <?php echo $sidebar_class; ?>">
<div class="page-wrapper">
<?php
$left_sidebar = 'woo-left-sidebar';
$right_sidebar = 'woo-right-sidebar';
echo "<div class='gdl-page-float-left'>";
echo "<div class='gdl-page-item'>";
echo '<div class="woo-breadcrumbs-wrapper">';
woocommerce_breadcrumb();
echo '</div>';
echo '<div class="woo-commerce-content-wrapper">';
woocommerce_content();
echo "</div>"; // woo commerce content wrpaper
echo "</div>"; // end of gdl-page-item
get_sidebar('left');
echo "</div>"; // gdl-page-float-left
get_sidebar('right');
?>
<div class="clear"></div>
</div>
</div> <!-- content-wrapper -->
<?php get_footer(); ?>