The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End No. of Posts to Show (WordPress) Re: No. of Posts to Show (WordPress)


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………