admin管理员组

文章数量:1316005

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!

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!

Share Improve this question edited Nov 17, 2020 at 9:50 Gufran Hasan 6918 silver badges20 bronze badges asked Nov 16, 2020 at 8:49 artyvisualartyvisual 1 0
Add a comment  | 

1 Answer 1

Reset to default 0

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

本文标签: how tho change number of posts in loop from specific categories