File: /home/dh_5jabqq/bermudashipwreckarchive.com/wp-content/themes/loquet/woocommerce-single.php
<?php
/**
* The template for displaying woocommerce single
*/
get_header(); ?>
<?php
/*====== Customizer Settings ======*/
$container_width = get_theme_mod( 'loquet_pages_page_container_width', 'narrow' );
$shop_sidebar_position = get_theme_mod( 'loquet_woocommerce_product_sidebar_position', 'no-sidebar' );
?>
<?php echo loquet_page_wrapper_before(); ?>
<?php
if( $container_width == "wide" ) {
echo loquet_flex_container_full_before( $extra_class = "gt-page-layout" );
} elseif( $container_width == "fluid" ) {
echo loquet_flex_container_fluid_before( $extra_class = "gt-page-layout" );
} elseif( $container_width == "narrow" ) {
echo loquet_flex_container_before( $extra_class = "gt-page-layout" );
}
?>
<?php echo loquet_page_content_before( $extra_class = "", $manual_position = esc_attr( $shop_sidebar_position ) ); ?>
<article class="gt-article">
<div id="post-<?php the_ID(); ?>" <?php post_class( 'gt-content' ); ?>>
<div class="gt-content-body">
<?php woocommerce_content(); ?>
</div>
</div>
</article>
<?php echo loquet_page_content_after(); ?>
<?php
if( $shop_sidebar_position !== "no-sidebar" and is_active_sidebar( 'loquet-shop-sidebar' ) ) {
echo loquet_sidebar_before( $manual_position = esc_attr( $shop_sidebar_position ) );
dynamic_sidebar( 'loquet-shop-sidebar' );
echo loquet_sidebar_after();
}
?>
<?php
if( $container_width == "wide" ) {
echo loquet_flex_container_full_after();
} elseif( $container_width == "fluid" ) {
echo loquet_flex_container_fluid_after();
} elseif( $container_width == "narrow" ) {
echo loquet_flex_container_after();
}
?>
<?php echo loquet_page_wrapper_after(); ?>
<?php get_footer();