Return to Snippet

Revision: 42896
at March 12, 2011 08:47 by ddabney


Initial Code
query_posts('showposts=5&category_name=featured');
if ( have_posts() ) : while ( have_posts() ) : the_post();
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p><?php the_content(); ?></p>
endwhile; else:
endif;
wp_reset_query();

Initial URL

                                

Initial Description

                                

Initial Title
Filter Posts Using Query Posts

Initial Tags
wordpress, filter

Initial Language
PHP