View Single Post
Old 14 Mar 2022, 09:08
delicjous's Avatar
delicjous delicjous is offline
Join Date: Nov 2014
I would do that directly in a new template and do a search via the API search, getInitialResults.
Then you get an array containing all the required values. Also the number of posts.

Just look at the templates for an example:

..and use debugvardump to get dump of the array.

Edit: Your query is not taking care of any permission or closed status. The search will ...
ⓒ by delicjous
Reply With Quote