Well, I think the question might be a bit confusing. But well, I want to get the recent 4 posts, ignoring the first five recent posts. So in short the sixth, seventh, eighth and ninth - most recent posts.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
Simple. WordPress provides a function called To get 4 posts, ignoring the 5 most recent, you'd set the
Now you have an array of posts the 4 latest posts (ignoring the 5 most recent), ordered by date. |
|||
|
|
|
You can use the offset parameter - either on
Or for subsequent secondary loops:
(Of course other argument can be included in the argument array) |
|||
|
|