/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php query_posts('cat=4'); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> //post output goes here... index.php typically provides a good template <?php endwhile; endif; ?> <?php wp_reset_query(); ?>
Comments
