HEX
Server: Microsoft-IIS/10.0
System: Windows NT WIN8095 10.0 build 20348 (Windows Server 2016) AMD64
User: kytoffice-001 (0)
PHP: 7.4.30
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source
Upload Files
File: h:/root/home/kytoffice-001/www/expresstinou/wp-content/themes/paper-news/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.
 * @package Paper News
 */
get_header(); ?>
<main id="content" class="index-class content">
    <!--container-->
    <div class="container">
        <!--row-->
        <div class="row">
            <?php 
            $newsair_content_layout = esc_attr(get_theme_mod('newsair_content_layout','align-content-right'));
            if($newsair_content_layout == "align-content-left" || $newsair_content_layout == "grid-left-sidebar") { ?>
                <!--col-lg-4-->
                <aside class="col-lg-4 sidebar-left">
                    <?php get_sidebar();?>
                </aside>
                <!--/col-lg-4-->
            <?php } ?>
                <!--col-lg-8-->
            <?php if($newsair_content_layout == "align-content-right" || $newsair_content_layout == "align-content-left") { ?>
                <div class="col-lg-8 content-right">
                    <?php get_template_part('content', get_post_format()); ?>
                </div>
            <?php } elseif($newsair_content_layout == "full-width-content") { ?>
                <div class="col-lg-12">
                    <?php get_template_part('content', get_post_format()); ?>
                </div>
            <?php }  if($newsair_content_layout == "grid-left-sidebar" || $newsair_content_layout == "grid-right-sidebar") { ?>
                <div class="col-lg-8 content-right">
                    <?php get_template_part('template-parts/content','grid'); ?>
                </div>
            <?php } elseif($newsair_content_layout == "grid-fullwidth") { ?>
                <div class="col-lg-12">
                    <?php get_template_part('template-parts/content','grid'); ?>
                </div>
            <?php }  ?>
                <!--/col-lg-8-->
            <?php if($newsair_content_layout == "align-content-right" || $newsair_content_layout == "grid-right-sidebar") { ?>
                <!--col-lg-4-->
                <aside class="col-lg-4 sidebar-right">
                    <?php get_sidebar();?>
                </aside>
                <!--/col-lg-4-->
            <?php }?>
        </div><!--/row-->
    </div><!--/container-->
</main>                
<?php
get_footer();
?>