Hi, i am getting query result by query_posts and settings the post_per_page = -1 so i get all the posts depending on the query.
Now i am showing the result multiple times in a page via the loop. Now my question is is there any way that i limit the result showing in different parts on the page?
In the top i am showing a slider where i used has_post_thumbnails to show only the featured images.
In the middle i need to show the recent posts with pagination.
I hope you get the idea. If not let me know. I will try to explain again.
- The topic ‘Using a query result multiple times with differnt limit’ is closed to new replies.