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,
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 |
|---|---|---|---|---|
| 1 | 268 | 3 weeks ago | ||
| 0 | 196 | 3 weeks ago | ||
| 2 | 331 | 3 weeks ago | ||
| 1 | 253 | 3 weeks ago | ||
| 0 | 222 | 3 weeks ago |