HEX
Server: LiteSpeed
System: Linux spg20.cloudpowerdns.com 5.14.0-611.35.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 25 03:46:09 EST 2026 x86_64
User: carrerup (3153)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/carrerup/.trash/techland/single.php
<?php

/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package WordPress
 * @subpackage Techland
 * @since 1.0.0
 */

get_header();

	// you can use this action to add any content before single page
	do_action( "techland_before_post_single" );

	$techland_justify = (stripos(techland_sidebar_control('single_layout'), 'nt-no-sidebar') !== false) ? ' justify-content-center' : '';
?>

	<!-- Single page general div -->
	<div id="nt-single" class="nt-single">

		<!-- Hero section - this function using on all inner pages -->
		<?php techland_hero_section(); ?>
        <?php
        if ( function_exists('techland_vc_print_saved_template') && '' != techland_settings( 'vc_before_single_templates' ) ) {
            echo techland_vc_print_saved_template( techland_settings( 'vc_before_single_templates' ) );
        }
         ?>
		<!-- Section Post -->
		<div class="nt-theme-inner-container section">
			<div class="container">
				<div class="row<?php echo esc_attr($techland_justify); ?>">

					<!-- Left sidebar -->
					<?php if( 'left-sidebar' == techland_settings( 'single_layout', 'right-sidebar' )) {
						get_sidebar();
					} ?>

					<!-- Sidebar column control -->
					<div class="<?php echo techland_sidebar_control('single_layout'); ?>">


						<div class="content-container">
							<!-- start posts -->
							<div class="posts">
								<div class="__item nt-theme-content nt-clearfix">

            						<?php

            							// Post content
            							while ( have_posts() ) : the_post();

            								techland_single_page_post_content();

            							endwhile;

        							echo '</div>'; // nt-theme-content
    							echo '</div>'; // nt-theme-content
							echo '</div>'; // nt-theme-content

							// Post navigation
							techland_single_navigation_two();

							// Related post
							techland_single_post_related_two();

							// Author box
							techland_single_post_author_box();

						 	// Post comments
							if ( comments_open() || '0' != get_comments_number() ) {
								comments_template();
							}

						?>

					</div><!-- End column sidebar control -->

					<!-- Right sidebar -->
					<?php if( 'right-sidebar' == techland_settings( 'single_layout', 'right-sidebar' ) ) {
						get_sidebar();
					} ?>

				</div><!-- End row -->
			</div><!-- End container -->
		</div><!-- End Section Post -->
	</div><!--End single page general div -->

<?php

    if ( function_exists('techland_vc_print_saved_template') && '' != techland_settings( 'vc_after_single_templates' ) ) {
        echo techland_vc_print_saved_template( techland_settings( 'vc_after_single_templates' ) );
    }

	do_action( "techland_after_post_single" );

	get_footer();
 ?>