$args = array('post_type' => 'video', 'posts_per_page' => $posts_per_page, 'paged' => $paged, 'meta_query' => array(array('key' => '_thumbnail_id', 'compare' => '!=', 'value' => 'NULL')));
$loop = new WP_Query($args);
if ($loop->have_posts()) {
    while ($loop->have_posts()) {
        $loop->the_post();
        ?>

			<?php 
        wolf_videos_get_template_part('content', 'video-youtube-all');
        ?>

			<?php 
    }
    ?>

		</section>
	</div>

	<?php 
    wolf_pagination($loop);
    ?>

	<?php 
}
wp_reset_postdata();
?>

<?php 
wolf_page_after();
// after page hook
get_footer('videos');
<div class="clearfix"></div>
<?php 
/**
 * Pagination
 */
if (wolf_get_theme_option('blog_infinite_scroll') && 'masonry' == wolf_get_theme_option('blog_type')) {
    wolf_paging_nav();
} else {
    wolf_pagination();
}