File: /home/salhiscp/salhab360photos.com/wp-content/themes/acora/page.php
<?php
/**
* Single page file.
*
* @package acora
* @since acora 1.0
*/
?>
<?php
get_header();
$password_class = post_password_required() ? ' password' : '';
?>
<div id="page_main" class="page-main single<?php echo esc_attr($password_class); ?>" role="main">
<div class="wrapper">
<div class="posts">
<?php
if(have_posts()):
while(have_posts()): the_post();
get_template_part('template-parts/page', 'single');
endwhile;
endif;
?>
<?php
if(is_user_logged_in()):
$class = 'entry-navigation' . acora_rl_active_comments();
?>
<div class="<?php echo esc_attr($class); ?>">
<?php
edit_post_link(esc_html__('Edit Page', 'acora'), '<span class="edit-link">', '</span>');
?>
</div>
<?php
endif;
//If comments are open or we have at least one comment, load up the comment template
if (comments_open() || '0' != get_comments_number() && !post_password_required()){
comments_template('', true);
}
?>
</div><!-- .posts -->
<!-- Get footer -->
<?php get_template_part('template-parts/footer'); ?>
<div class="clear"></div>
</div><!-- .wrapper -->
</div><!-- #page_main -->
<?php get_footer(); ?>