HEX
Server: LiteSpeed
System: Linux server257.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: salhiscp (12590)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /home/salhiscp/salhab360photos.com/wp-content/themes/acora/single.php
<?php
/**
  * Single main file.
  *
  * @package acora
  * @since acora 1.0
  */
?>

<?php get_header(); ?>
<div id="blog_main" class="blog-main single" role="main">
	<div class="wrapper">
		<div class="posts">
		 <?php 	
			if(have_posts()):
				while(have_posts()): the_post();
					get_template_part('template-parts/content', 'single');
				endwhile;
			endif;
			if(is_single()):
			$class = 'entry-navigation acora-hide' . acora_rl_active_comments();
			if(!acora_blog_has_navigation() && !current_user_can('administrator')){
				$class .= ' no-navigation';
			}
			if(post_password_required() && current_user_can('administrator')){
				$class .= ' protected';
			}
			if(post_password_required() && !current_user_can('administrator')){
				$class .= ' protected-no-admin';
			}
			?>
			<div class="<?php echo esc_attr($class); ?>"><?php	
				edit_post_link(esc_html__('Edit Post', 'acora'), '<span class="edit-link">', '</span>');
				if(!post_password_required()){
					acora_blog_nav();
				} 
				?>
			</div>
			<?php 
				// Related posts.
				if(!post_password_required()){
					acora_get_related_posts();
				}
				
				// 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);
				}
			?>
			<?php endif;
			?>
		</div><!-- .posts -->
		<?php 
			// Get footer.
			 get_template_part('template-parts/footer');
			//echo acora_blog_sidebar(); 
		?>
		<div class="clear"></div>
	</div><!-- .wrapper -->
</div><!-- #blog_content -->
<?php get_footer(); ?>