File: /var/www/html/wp-content/themes/online-education-classes/page.php
<?php
/**
* The template for displaying all pages.
*
* @package Online Education Classes
*/
get_header();
online_education_classes_before_title();
if (true === get_theme_mod('online_education_classes_enable_page_title', true)) :
do_action('online_education_classes_get_page_title');
endif;
online_education_classes_after_title();
?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<div class="content-inner">
<?php
$online_education_classes_elementor_page = get_post_meta( get_the_ID(), '_elementor_edit_mode', true );
if ( (bool)$online_education_classes_elementor_page ) {
?><div class="containerno"><?php
}
else {
?><div class="container"><?php
}
?>
<div class="row">
<div class="col-md-12">
<?php
while(have_posts() ) : the_post();
get_template_part( 'template-parts/page/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></div>
</div>
</main>
</div>
<?php
get_footer();