Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //se for a home, exibe os post da categoria destaques
- if ( is_home() ) {
- query_posts( "category_name=destaques" );
- }
- // o Loop
- while (have_posts()) : the_post();
- the_content();
- endwhile;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment