Path : /home/vishqocm/vishalwebtech.in/blog/wp-content/themes/katerio/
File Upload :
Current File : //home/vishqocm///vishalwebtech.in/blog/wp-content/themes/katerio/index.php

<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Katerio
 */

get_header();
?>

<div id="primary" class="content-area">
	<div class="container">
		<div class="section-inner">
			<main id="main" class="site-main">
                <?php
				if ( is_search() ) {
					$template_search = th90_display_elementor_content( th90_opt( 'search_template' ) );
			        if ( $template_search ) {
			            echo apply_filters( 'th90_print_search_template', $template_search );
			        } else {
				        get_template_part( 'template-parts/default', 'archive' );
					}
				} else {
					$template_archive = th90_display_elementor_content( th90_opt( 'archive_template' ) );
			        if ( $template_archive ) {
			            echo apply_filters( 'th90_print_archive_template', $template_archive );
			        }
				    else {
				        get_template_part( 'template-parts/default', 'archive' );
				    }
				}
				?>
			</main><!-- #main -->
			<?php get_sidebar(); ?>
		</div> <!-- .section-inner -->
	</div> <!-- .container -->
</div><!-- #primary -->

<?php
get_footer();