Uname:
Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
8.0.30 [ PHP INFO ] PHP os:
Linux
Server Ip:
145.239.37.162
Your Ip:
216.73.216.190
User:
dreampi (1009562) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
/**
* The loop template file.
*
* Included on pages like index.php, archive.php and search.php to display a loop of posts
* Learn more: https://codex.wordpress.org/The_Loop
*
* @package motiox
*/
do_action('motiox_loop_before');
$blog_style = motiox_get_theme_option('blog_style', 'standard');
$check_style = $blog_style && $blog_style !== 'standard';
$class = array();
//$class[] = 'blog-style-' . $blog_style;
if ($check_style) {
if ($blog_style == 'list' || $blog_style == 'modern') {
$class[] = 'elementor-grid-1';
} else {
$class[] = 'blog-style-grid';
$class[] = 'elementor-grid-' . motiox_get_theme_option('blog_columns', 3);
$class[] = 'elementor-grid-laptop-' . motiox_get_theme_option('blog_columns_laptop', 3);
$class[] = 'elementor-grid-tablet-' . motiox_get_theme_option('blog_columns_tablet', 2);
$class[] = 'elementor-grid-mobile-' . motiox_get_theme_option('blog_columns_mobile', 1);
}
}
$class = esc_attr(implode(' ', array_unique($class)));
?>
<div class="<?php echo esc_attr($class) ?>">
<div class="elementor-grid">
<?php
$count = 0;
$class = '';
while (have_posts()) :
the_post();
/**
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
if ($check_style) {
get_template_part('template-parts/posts-grid/item-post-' . $blog_style);
} else {
get_template_part('content', get_post_format());
}
endwhile; ?>
</div>
</div>
<?php
/**
* Functions hooked in to motiox_loop_after action
*
* @see motiox_paging_nav - 10
*/
do_action('motiox_loop_after');