I am using Isotope filtering on my wordpress theme.
The posts are displayed as boxes and filtered by category.
I would like to change the size of the boxes (add an aditional css class) based on the number of post views, so that the most visited posts would be the largest and so on …
Any suggestions on how to get the number of post views and set this additional class based on number of views ?
Thanks
First you need to track the number of views.
take a look at this: Track post views without using a plugin(need to scroll)
Get this running first.