MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/orthovijay.in/wp-content/themes/kallyas/single.php
<?php if(! defined('ABSPATH')){ return; }
/**
 * Template layout for single entries
 * @package  Kallyas
 * @author   Team Hogash
 */
get_header();

$args = array();
$override_page_title = zget_option( 'zn_override_single_title', 'blog_options' );
if( 'yes' === $override_page_title ){
	$args['title'] = zget_option( 'single_page_title', 'blog_options' );
}

/*** USE THE NEW HEADER FUNCTION **/
WpkPageHelper::zn_get_subheader( $args );

$current_post_type = get_post_type( $post->ID );
$exclude_post_type = array(
	'zn_layout',
	'znpb_template_mngr',
	'attachment',
	'product',
	'post',
);

// Check to see on what type of page we are on
$sidebar_layout = 'single_sidebar';
if ( ! in_array( $current_post_type, $exclude_post_type ) ) {
	$sidebar_layout = $current_post_type . '_sidebar';
}

// Check to see if the page has a sidebar or not
$main_class = zn_get_sidebar_class($sidebar_layout);
if( strpos( $main_class , 'right_sidebar' ) !== false || strpos( $main_class , 'left_sidebar' ) !== false ) { $zn_config['sidebar'] = true; } else { $zn_config['sidebar'] = false; }
$sidebar_size = zget_option( 'sidebar_size', 'unlimited_sidebars', false, 3 );
$content_size = 12 - (int)$sidebar_size;
$zn_config['size'] = $zn_config['sidebar'] ? 'col-sm-8 col-md-'.$content_size : 'col-sm-12';
?>

	<section id="content" class="site-content">
		<div class="container">
			<div class="row">

				<!--// Main Content: page content from WP_EDITOR along with the appropriate sidebar if one specified. -->
				<div class="<?php echo esc_attr( $main_class ); ?>" <?php echo WpkPageHelper::zn_schema_markup('main'); ?>>
					<div id="th-content-post">
						<?php
						while ( have_posts() ) : the_post();
							get_template_part( 'inc/page', 'content-view-post.inc' );
						endwhile;

						if ( comments_open() || get_comments_number() ) :
							comments_template();
						endif;
						?>
					</div><!--// #th-content-post -->
				</div>

				<?php get_sidebar(); ?>
			</div>
		</div>
	</section><!--// #content -->
<?php
get_footer();