Loop WordPress
<?php query_posts(array('category_name' => 'category', 'posts_per_page' => 5 )); ?>
<?php while (have_posts()) : the_post(); ?>
<article>
<header>
<h2><?php the_title(); ?></h2>
</header>
<?php if (has_post_thumbnail()) : ?>
<figure>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_post_thumbnail(); ?>
</a>
</figure>
<?php endif; ?>
<?php echo limit_chars(get_the_excerpt(), 200); ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">Leia Mais</a>
</article>
<?php endwhile; ?>