I am using this code to show 5 posts (any post’s would do)
<div id="featured-post-section">
<div id="post-list">1
<?php query_posts( 'posts_per_page=5' ); ?>2
As you can see, I’ve added a 1 and 2 numbers…. One before and one after … I only get 1 2 … No posts are showing at all.
What am I doing wrong?
That function only tells WordPress how many posts to output. You still have to use the WP loop to actually perform the output.