| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/mimradmin/theme/digitaz/ |
Upload File : |
<?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 digitaz
*/
do_action('digitaz_loop_before');
$blog_style = digitaz_get_theme_option('blog_style');
$columns = digitaz_get_theme_option('blog_columns');
$check_style = $blog_style && $blog_style !== 'standard';
if ($check_style) {
echo '<div class="blog-style-grid" data-elementor-columns="' . esc_attr($columns) . '">';
}
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;
if ($check_style) {
echo '</div>';
}
/**
* Functions hooked in to digitaz_loop_after action
*
* @see digitaz_paging_nav - 10
*/
do_action('digitaz_loop_after');