Is there any way to create posts loop that display trending posts of specific time only and not the total time ?
I mean to display top viewd posts today or this weak top posts
How To ?
There is no method to query posts by views.
Basically, neither WordPress nor Toolset looks after whom is viewing your site and counts visits.
I am quite sure this event will interfere with GDPR in future, so I would discourage from such code if you do not fully declare it.
I am not sure but I can imagine this could be interpreted as a privacy infringement if you count my visit on your site... depends on the point of view and laws backing it up.
If you want to create such counts, I suggest to look out for a Plugin that counts, and adds that as a native Meta Value (post field).
This can then be used in a Toolset View to order or query by it.
hidden link