I am trying to get my home loop query filled like this:

  1. From all posts within all categories: show (just) 1 (most recent) post.
  2. From some specific categories: show 3 (most recent) posts (max).
  3. Sort on publish date.

website: www.baiweb.nl

The combination of 1,3 and 2,3 is pretty standard, but I can't figure out how to script the two combined.

Appreciate getting some help!


1 Answer 1


I found this item, that might be a good start; but the difference is that we need not to specify each specific category, the basic must be, one itme of all recent posts. how tho change number of posts in loop from specific categories

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.