| Server IP : 104.26.5.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/cleanlinefmsv3/public_html/wp-content/themes/clanyeco/ |
Upload File : |
<?php
/**
* Catch-all post loop
*/
VamtamEnqueues::enqueue_style_and_print( 'vamtam-blog' );
$wrapper_class = array();
$wrapper_class[] = 'regular';
if ( ! vamtam_extra_features() ) {
$wrapper_class[] = 'masonry';
}
?>
<div class="loop-wrapper <?php echo esc_attr( implode( ' ', $wrapper_class ) ) ?>">
<?php
do_action( 'vamtam_before_main_loop' );
$i = 0;
if ( ! isset( $blog_query ) ) {
$blog_query = $GLOBALS['wp_query'];
}
if ( $blog_query->have_posts() ) :
while ( $blog_query->have_posts() ) : $blog_query->the_post();
$post_class = array();
$post_class[] = 'page-content post-header clearfix';
if ( ! $blog_query->is_single() ) {
$post_class[] = 'list-item';
}
?>
<div <?php post_class( implode( ' ', $post_class ) ) ?>>
<div>
<?php include locate_template( 'templates/post.php' ); ?>
</div>
</div>
<?php
$i++;
endwhile;
endif;
do_action( 'vamtam_after_main_loop' );
?>
</div>
<?php
VamtamTemplates::pagination( true, $blog_query );