| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/ifwar.ru/www/wp-content/themes/blogza/ |
Upload File : |
<?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 Blogza
*/
get_header(); ?>
<main id="content" class="index-class">
<!--container-->
<div class="container">
<!--row-->
<div class="row">
<!--col-md-8-->
<?php $blogza_content_layout = esc_attr(get_theme_mod('blogza_content_layout','grid-fullwidth'));
if($blogza_content_layout == "align-content-left" || $blogza_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($blogza_content_layout == "align-content-right" || $blogza_content_layout == "align-content-left"){ ?>
<div class="col-lg-8 content-right">
<?php get_template_part('template-parts/content', get_post_format()); ?>
</div>
<?php } elseif($blogza_content_layout == "full-width-content") { ?>
<div class="col-lg-12 content-full">
<?php get_template_part('template-parts/content', get_post_format()); ?>
</div>
<?php }
if($blogza_content_layout == "grid-left-sidebar" || $blogza_content_layout == "grid-right-sidebar"){ ?>
<div class="col-lg-8 content-right">
<?php get_template_part('content','grid'); ?>
</div>
<?php } elseif($blogza_content_layout == "grid-fullwidth") { ?>
<div class="col-lg-12 content-full">
<?php get_template_part('content','grid'); ?>
</div>
<?php } ?>
<!--/col-lg-8-->
<?php if($blogza_content_layout == "align-content-right" || $blogza_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();
?>