<?php/* * Query latest blog posts */$the_query=newWP_Query(array('post_type'=>'post','order'=>'DESC',));// The Loopif($the_query->have_posts()){echo'<div class="post-masonry-row">';echo'<div class="masonry-css">';while($the_query->have_posts()){$the_query->the_post();echo'<a href="'.get_permalink().'">';?><divclass="masonry-css-item"><article<?phppost_class(array('callout'));?>><?phpif(has_post_thumbnail()){the_post_thumbnail('featured-content');}?><h1class="masonry-title"><?phpechoget_the_title();?></h1><divclass="masonry-excerpt"><?phpthe_excerpt();?></div></article></div><?phpecho'</a>';// close get_permalink hyperlink// End while loop for 'event-image'}echo'</div>';echo'</div>';}