admin管理员组文章数量:1316005
I am trying to get my home loop query filled like this:
- From all posts within all categories: show (just) 1 (most recent) post.
- From some specific categories: show 3 (most recent) posts (max).
- 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:
- From all posts within all categories: show (just) 1 (most recent) post.
- From some specific categories: show 3 (most recent) posts (max).
- 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 01 Answer
Reset to default 0I 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
版权声明:本文标题:how tho change number of posts in loop from specific categories 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741984633a2408600.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论