how tho change number of posts in loop from specific categories


I anm 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 caegories: show 3 (most recent) posts (max).
  3. Sort on publish date.

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

Appriciate to get some help!

artyvisual 2 months 0 Answers 5 views 0

Leave an answer