Current Path : /storage/v11800/testtest/public_html/wp-content/themes/shoptimizer/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/testtest/public_html/wp-content/themes/shoptimizer/single.php |
<?php
/**
* The template for displaying all single posts.
*
* @package shoptimizer
*/
$shoptimizer_layout_post_sidebar = '';
$shoptimizer_layout_post_sidebar = shoptimizer_get_option( 'shoptimizer_layout_post_sidebar' );
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main">
<?php while ( have_posts() ) : the_post();
do_action( 'shoptimizer_single_post_before' );
get_template_part( 'content', 'single' );
do_action( 'shoptimizer_single_post_after' );
endwhile; // End of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php if ( 'no-post-sidebar' !== $shoptimizer_layout_post_sidebar ) { ?>
<?php if ( !is_singular( 'ckit_size_guide' ) ) { ?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-posts' ); ?>
</div><!-- #secondary -->
<?php }
} ?>
<?php
get_footer();