| 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/ |
Upload File : |
<?php
/**
* The template for displaying the content.
* @package Blogus
*/
$layout = esc_attr(get_theme_mod('blogus_content_layout','grid-right-sidebar')) == 'grid-fullwidth' ? 'col-lg-4 col-md-6': 'col-md-6';
?>
<div id="grid" class="row">
<?php while(have_posts()){ the_post(); ?>
<div class="<?php echo $layout?>">
<div id="post-<?php the_ID(); ?>" <?php post_class('bs-blog-post grid'); ?>>
<?php blogus_post_image_display_type($post); ?>
<article class="small">
<?php $blogus_global_category_enable = get_theme_mod('blogus_global_category_enable','true');
if($blogus_global_category_enable == 'true') { blogus_post_categories(); } ?>
<h4 class="title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h4>
<?php blogus_post_meta(); blogus_posted_content(); ?>
</article>
</div>
</div>
<?php } ?>
<div class="col-lg-12 text-center d-md-flex justify-content-center">
<?php //Previous / next page navigation
the_posts_pagination( array(
'prev_text' => '<i class="fa fa-angle-left"></i>',
'next_text' => '<i class="fa fa-angle-right"></i>',
) );
?>
</div>
</div>