How to put posts in pages using query posts
get_posts may be easier for you to use: $args = array( ‘numberposts’ => 5, ‘category’ => ‘3’ ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?> <div <?php post_class(); ?> id=”post-<?php the_ID(); ?>” style=”padding-bottom:5px;”> <h2><a href=”https://wordpress.stackexchange.com/questions/22878/<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></a></h2> <div class=”post_meta”><?php twentyten_posted_on(); … Read more