File: /storage/v6964/mangomitra/public_html/wp-content/themes/open-shop/page.php
<?php
/**
* The main template file
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package ThemeHunk
* @subpackage Open Shop
* @since 1.0.0
*/
get_header();
?>
<div id="content" class="page-content thunk-page">
<div class="content-wrap" >
<div class="container">
<div class="main-area">
<div id="primary" class="primary-content-area">
<div class="primary-content-wrap">
<div class="page-head">
<?php open_shop_get_page_title();?>
<?php open_shop_breadcrumb_trail();?>
</div>
<div class="thunk-content-wrap">
<?php
while( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'page' );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile; // End of the loop.
?>
</div>
</div> <!-- end primary-content-wrap-->
</div> <!-- end primary primary-content-area-->
<?php
if(get_post_meta(get_the_ID(), 'open_shop_disable_page_sidebar', true )!=='on'):
get_sidebar();
endif;
?><!-- end sidebar-primary sidebar-content-area-->
</div> <!-- end main-area -->
</div>
</div> <!-- end content-wrap -->
</div> <!-- end content page-content -->
<?php get_footer();?>