-
sunnmagic
Hello,
How to add a sorting option based on the number of views of a post in a Query Loop? I’ve installed the plugin “Post Views Counter”, but it seems a bit more complicated than that…
Screenshot: https://www.awesomescreenshot.com/image/47998078?key=b44517c50d381c737bc92ff43542da82
Thanks!
-
Hi there,
I believe this should help:
https://generatepress.com/forums/topic/query-loop-with-most-read-items/#post-2378593Let me know 🙂
-
sunnmagic
Thanks, already tried this, but it doesn’t seem to work any more :/
-
Not sure why that wouldn’t work anymore.
What about George’s solution here?
https://www.gmitropapas.com/generatepress-tips-and-tricks/generateblocks/sort-query-loop-by-post-view-count-for-logged-out-users/ -
sunnmagic
It works, thanks!
-
No problem 🙂
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.