Display most popular categories on home page with images

I'm looking for some plugin which will allow me to display for ex. 6 most viewed categories.
I see some old plugin in WP repository but it was updated 8 years ago and it does not support images.
Seems there is no such plugin on market?

  • Adam Czajczyk

    Hi cayu

    I hope you're well today!

    By default WP doesn't count "category views" so that'd requires some "custom stats". I didn't find any plugin that would do what you want out of the box but it should be relatively easy to achieve with some custom code.

    This code here is a nice "foundation" - for counting posts' views and then counting "category views" based on this:

    https://wordpress.stackexchange.com/a/231414

    This could be extended to store category views in db and with an additional custom loop to then display categories based on that view number (along with images). But all in all, I think this would require custom development anyway, rather than a ready plugin so the code shared above might b a good starting point but would have to be extended.

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.