<div class="tab">
	<ul class="tabs table p-relative full-width ffOswald upper">
		<li class="left relative"><a href="#">Últimas histórias</a></li>
		<li class="left relative"><a href="#">Populares</a></li>
	</ul> <!-- / tabs -->

<div class="clear"></div>

	<div class="tab_content">

		<div class="tabs_item">
		
			<?php echo do_shortcode( '[ajax_load_more post_type="post" preloaded_amount="3" pause_override="false" scroll="false" posts_per_page="6" max_pages="0" button_label=" " css_classes="infinite-scroll" transition="fade" transition_speed="1000" images_loaded="true"]' );?>

		</div>	 <!-- / tabs_ultimos -->


		<div class="tabs_item">


<?php $pc = new WP_Query('orderby=comment_count&posts_per_page=9');

while ($pc->have_posts()) : $pc->the_post(); ?>


	<?php  if ( has_post_thumbnail() ) { ?>

<article class="inline triple"> 
<div>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'post-secondary-image-thumbnail' ); ?></a>
</div>

<div>
<div class="infos"><span class="categoria"><?php the_category(' e ') ?></span>
<span class="date"><?php the_date('j \d\e F \d\e Y', '', ''); ?></span></div>


<div class="triple-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</div>
</div>

<?php the_excerpt(''); ?>

</article>

	<?php  } else { ?>


	<?php  } ?>

<?php endwhile; ?>	

</div> <!-- / tabs_populares-->

		
	</div> <!-- / tab_content -->

 <!-- / tab -->
</div>

