<div class="heading"> <div class="title"> <?php echo theme_functions::get_crumb(); ?> </div> </div> <?php if (have_posts()) { ?> <div class="row main-card-group"> <?php $i = 0; while (have_posts()) { the_post(); theme_functions::archive_content(['lazyload' => $i <= 6 ? false : true]); ++$i; } ?> </div> <?php if ($GLOBALS['wp_query']->max_num_pages > 1) { ?> <?php echo theme_functions::pagination(); ?> <?php } ?> <?php } else {