have_posts() ):
?>
have_posts() ) :
// setup post data
$sticky_posts_query->the_post();
// set the image size
$sticky_post_image_size = apply_filters( 'tube_sticky_post_image_size', 'tube-img-md-cropped');
// add image size to post object (it gets used in the partial)
$post -> image_size = $sticky_post_image_size;
// get the partial for post list
get_template_part( 'partials/post-list' );
endwhile;
// reset the post data from the sticky query
wp_reset_postdata();
?>
custom_posts_nav_link();
break;
default:
Tube_Theme::$tube_pagination -> custom_the_posts_pagination();
break;
endswitch;
else: // no posts for this archive or query ?>