Aleksey Popov Posted April 16, 2022 Share Posted April 16, 2022 Sorting pages by Views and Popularity? How to? Thanks. Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted April 16, 2022 Share Posted April 16, 2022 Hey, @Aleksey Popov! First of all you need to create a field to store page views data, and collect the actual data with a script. And then just use sorting in selector. Look at this topic or at this module. 2 Link to comment Share on other sites More sharing options...
Zeka Posted April 16, 2022 Share Posted April 16, 2022 There is no built-in functionality. The simplest way is to create addtional fields like 'page_views' and 'page_popularity', then populate these fields inthe desirerable way and use them in your selectors like pages('template=post, sort=-page_views'); 1 Link to comment Share on other sites More sharing options...
Aleksey Popov Posted April 16, 2022 Author Share Posted April 16, 2022 Yes! Thanks everybody. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now