HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/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.
 * Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package xts
 */

if ( xts_is_ajax() ) {
	xts_get_template_part( 'templates/loop' );
	die();
}

get_header();

xts_get_sidebar( 'sidebar-left' );

if ( have_posts() ) {
	xts_get_template_part( 'templates/loop' );
} else {
	xts_get_template_part( 'templates/content-none' );
}

xts_get_sidebar( 'sidebar-right' );

get_footer();