I am trying to replicate the same style as seen in this picture displaying the latest posts. I am aware as to how to recreate it using a WP Loop and having the content sizes all the same. What I want to do is have it so it varies the sizing based on a fixed template. So the layout would be constant but the posts would change based on the latest posts. If I could be pointed in the right direction as to how to achieve this.
As I said I know how to use the loop to recreate the posts using a single layout style. Ideally I don't want to use featured posts.
The loop I am using is:
<?php if ( have_posts() ) : ?>
<?php /* Limit Number of posts returned to 4 !important */ ?>
<? $numberOfPost = 4;
$catId = get_query_var('cat');
$page = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts('paged='.$page.'&posts_per_page='.$numberOfPost.'&cat='.$catId); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( '/templates/content-latest', get_post_format() );
?>
<?php endwhile; ?>
<?php endif; ?>