Hi Michal,
Could you please post your code (wpp shortcode or wpp_get_mostpopular() template tag) here so I can take a look into it?
Sure:
<?php wpp_get_mostpopular("range=daily&stats_views=1&cat=998&title_length=0&thumbnail_width=150&post_html='<li>{thumb}<div>{stats}</div></li>'"); ?>
I’m unable to reproduce this issue. For me, the thumbnails are ordered by views: screenshot.
Try disabling all of your plugins and check if the problem persists.
I tried disable all plugins, but code still doesn’t work.
The same happens if you switch to a different theme? (eg. Twenty Thirteen). How about the stats section? Are posts not ordered by views there as well?
I found the problem actually. Stats are ordering ok.
Problem is with category. Without this code “&cat=998” it shows well ordered.
Anyway I don’t know how to fix this with category code.
Do you have same query posts in you code, where I can put category select? I need this plugin only for this category, so it doesn’t mind if it won’t work for others.
That’s odd. During my tests I also used the cat parameter and everything worked as expected – of course, I use dummy data during my tests so I may be overlooking something.
Is there any chance I can get a copy of your site’s database? That way, I may be able to reproduce the issue locally and fix it. If you’re OK with that, please get in touch with me via hcabrerab at gmail and let’s continue from there.
I’m just a webdesigner and coder for this web, so I have to contact web owner with that. I’ll let you know, when he write me back.
Thanks for you help for now and have a good day,
Michal
Alright, please keep me posted.