I can’t even tell how the theme is querying the posts. I’ve done work with PHP before (mysqli), I am struggling to find out how these WP queries are being executed. This is one of the 5 posts per page, I can’t tell where it is getting have_posts() or in_array.
<?php global $do_not_duplicate; if (isset($do_not_duplicate)) { if (have_posts()) : while (have_posts()) : the_post(); if (in_array($post->ID + 14, $do_not_duplicate)) continue; ?>
<li class="infinite-post">
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
<div class="archive-list-img left relative">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
<?php the_post_thumbnail('medium-thumb'); ?>
<?php global $numpages; if(get_post_meta($post->ID + 14, "mvp_video_embed", true)) { ?>
<div class="feat-video">
<i class="fa fa-video-camera fa-2"></i>
</div><!--feat-video-->
<?php } else if ( $numpages > 1 ) { ?>
<div class="feat-gallery">
<i class="fa fa-camera-retro fa-2"></i>
</div><!--feat-gallery-->
<?php } ?>
</a>
</div><!--archive-list-img-->
<div class="archive-list-text left relative">
<a href="<?php the_permalink(); ?>" rel="bookmark">
<?php the_title(); ?></a>
<p><?php echo excerpt(22); ?></p>
<div class="archive-list-info left relative">
<span class="archive-list-author left">
<?php the_author(); ?></span>
<span class="archive-list-date left"><?php the_time(get_option('date_format')); ?></span>
</div><!--archive-list-info-->
</div><!--archive-list-text-->
<?php } else { ?>
<div class="archive-list-text left relative w100">
<a href="<?php the_permalink(); ?>" rel="bookmark">
<?php the_title(); ?></a>
<p><?php echo excerpt(22); ?></p>
<div class="archive-list-info left relative">
<span class="archive-list-author left">
<?php the_author(); ?></span>
<span class="archive-list-date left"><?php the_time(get_option('date_format')); ?></span>
</div><!--archive-list-info-->
</div><!--archive-list-text-->
<?php } ?>
</li>
<?php endwhile; endif; } else { ?>