Created
August 31, 2012 22:08
-
-
Save sergiopvilar/3559819 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Faz a query no Wordpress | |
query_posts('category_name=lancamentos'); | |
// Faz o laço de posts | |
while(have_posts()): the_post(); | |
// Conteúdo do post aqui | |
// the_content(), the_title(), etc | |
endwhile; | |
// Reseta a query que está em cache | |
wp_reset_query(); | |
?> |
rodrigobarbosa
commented
Aug 31, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment