Is there any plugin or workaround to get or sort pages by the number of times they have been viewed?
I am trying to get a "popular" category in a blog with Grav.
Thanks,
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Is there any plugin or workaround to get or sort pages by the number of times they have been viewed?
I am trying to get a "popular" category in a blog with Grav.
Thanks,
Documentation says:
The full view count data is dumped as an associative array (i.e., route => count) into the Twig variable viewcounts. To support backwards compatibility, the counts are also still dumped into the config.plugins.count-views.counts namespace, but this is now officially deprecated and will be removed in a future major release.
How can I get in a TWIG template the most viewed page? -maybe it is obvious from the docs but I am quite new to Grav-
Thanks,
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 76 | 8 hours ago | ||
| 1 | 47 | 12 hours ago | ||
| 0 | 44 | 1 day ago | ||
| 6 | 346 | 5 days ago | ||
| 3 | 40 | 5 days ago |