7 December 2022 at 11:09
#52141
Bartosz
Keymaster
Post Views Counter is not storing views in post meta, so you can’t do it like this.
But if you build a query and set orderby to “post_views” it should work out of the box.
You can check here https://dfactory.co/docs/post-views-counter/developers-api/ how a simple get_posts() function can be used to do what you need.
How to Get Support
After you register and login to the site, you may post all plugin support questions in the Support Forum.
If you need to provide private info, please create a ticket and then reply to it using Set as private reply option.
Sign Up
Support is only provided to registered users.
Please login or sign up for a free account.Sign Up Now
Please login or sign up for a free account.Sign Up Now