";
$counter=1;
while ($the_query -> have_posts()) : $the_query -> the_post();
if($counter % 2) :
$class = 'post-home-left span3';
else :
$class = 'post-home-right span3';
endif;
echo '
';
echo '
';
if ( has_post_thumbnail() ) {
the_post_thumbnail(array(100,100), array('class' => 'alignright'));
}
$content = get_the_content('
Read the rest of the post.');
$content = preg_replace("/
![]()
]+./", "", $content);
echo $content;
echo '
';
$counter++;
endwhile;
?>