Return to Snippet

Revision: 43959
at April 4, 2011 09:28 by alexeihidalgo


Initial Code
<?php query_posts(array('category_name' => 'qwerty', 'posts_per_page' => 5));
if (have_posts()): while(have_posts()): the_post(): ?>

// el contenido 

<?php else: ?>
no existe nada
<?php endif; endwhile; ?>

Initial URL

                                

Initial Description

                                

Initial Title
Para crear un loop de wordpress

Initial Tags

                                

Initial Language
PHP