I am using the Jetpack plugin to get 'site stats' which shows the number of views for blog posts/pages. So I'm no expert or anything but I'm guessing there is a table that stores these views. Is there a way to manipulate this data to create a simple list of the most popular posts by views in the sidebar?
Currently, I'm using a plugin for this but I'd prefer to hard code it straight into the theme.
Any guidance would be massively appreciated.
Thanks for reading!