| 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/blogus/template-parts/ |
Upload File : |
<?php
/**
* Template part for displaying page content in page.php
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Blogus
*/
if( class_exists('woocommerce') && (is_account_page() || is_cart() || is_checkout())) { ?>
<div class="col-md-12">
<div class="bs-card-box padding-20">
<?php if (have_posts()) { while (have_posts()) : the_post(); the_content(); endwhile; }
} else { ?>
<?php $blogus_page_layout = get_theme_mod('blogus_page_layout','page-align-content-right');
if($blogus_page_layout == "page-align-content-left") { ?>
<aside class="col-lg-4">
<?php get_sidebar();?>
</aside>
<?php } ?>
<div class="<?php echo esc_attr($blogus_page_layout == 'page-full-width-content' ? 'col-lg-12' : 'col-lg-8') ?>">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="bs-card-box padding-20"> <?php
while (have_posts()) : the_post();
if(has_post_thumbnail()) {
if ( is_single() ) { ?>
<figure class="post-thumbnail">
<?php the_post_thumbnail('full', array('class' => 'img-fluid attachment-full size-full')); ?>
</figure>
<?php }
else { ?>
<figure class="post-thumbnail">
<a href="<?php the_permalink(); ?>" >
<?php the_post_thumbnail('full', array('class' => 'img-fluid attachment-full size-full')); ?>
</a>
</figure>
<?php }
}
the_content();
blogus_edit_link();
if (comments_open() || get_comments_number()) :
comments_template();
endif;
endwhile; ?>
</div>
</div>
</div>
<!--Sidebar Area-->
<?php if($blogus_page_layout == "page-align-content-right") { ?>
<!--sidebar-->
<!--col-md-4-->
<aside class="col-lg-4">
<?php get_sidebar();?>
</aside>
<!--/col-md-4-->
<!--/sidebar-->
<?php } ?>
<?php } ?>
<!--Sidebar Area-->