🚀 Hostinger Optimized
🖥️ Server: LiteSpeed
💻 System: Linux s20058.bom1.stableserver.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
👤 User: skhata (1324)
🐘 PHP: 8.4.20
🚫 Disabled: ✨ NONE

💻 Terminal

📁 /home/skhata/chandrasons.com/public
$

📄 single.php

📁 Path: /home/skhata/globaledge.com.np/wp-content/themes/visapass/single.php
📊 Size: 2.56 KB
🔒 Perm: 0644
📝 MIME: text/x-php
<?php
/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package visapass
 */

get_header();

$blog_column = is_active_sidebar( 'blog-sidebar' ) ? 8 : 12 ;

?>

<section class="blog-area blog-details-area pt-120 pb-120">
    <div class="container">
        <div class="row">
			<div class="col-lg-<?php print esc_attr($blog_column); ?> blog-post-items blog-padding">
				<div class="blog__details-wrapper pr-50">
					<?php
					while ( have_posts() ) :
						the_post();

						get_template_part( 'template-parts/content', get_post_format() );

						?>
					
						<?php 
						if( get_previous_post_link() AND get_next_post_link() ) : ?>

						<div class="blog-details-border d-none">
							<div class="row align-items-center">
								<?php 
								if(get_previous_post_link()) : ?>
		                            <div class="col-lg-6 col-md-6">
		                                <div class="theme-navigation b-next-post text-left mb-30">
		                                    <span><?php print esc_html__( 'Prev Post', 'visapass' ); ?></span>
                                            <h4><?php print get_previous_post_link('%link ', '%title'); ?></h4>
		                                </div>
		                            </div>
								<?php 
								endif; ?>

								<?php 
								if(get_next_post_link()) : ?>
		                            <div class="col-lg-6 col-md-6">
		                                <div class="theme-navigation b-next-post text-left text-md-right  mb-30">
		                                    <span><?php print esc_html__( 'Next Post', 'visapass' ); ?></span>
		                                    <h4><?php print get_next_post_link( '%link ', '%title' ); ?></h4>
		                                </div>
		                            </div>
								<?php 
								endif; ?>
								
							</div>
						</div>

						<?php 
						endif; ?>

						<?php

						get_template_part( 'template-parts/biography');

						// 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>
			<?php 
			if ( is_active_sidebar( 'blog-sidebar' ) ) { ?>
		        <div class="col-lg-4 ablog__sidebar">
					<?php get_sidebar(); ?>
	            </div>
			<?php
			}
			?>
		</div>
	</div>
</section>

<?php
get_footer();
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨