Hi, If you want to show only 5 posts (and don’t care about pagination), you can use query_posts() like so: query_posts( ‘posts_per_page=5’ );
If you must use query_posts(), make sure you call wp_reset_query() after you’re done.
Let me know does it work or not………
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Back End’ is closed to new topics and replies.