Hello @andygroove.
Of course you can, but you should use “Meta key numeric” value for the “Order by” option. And you should be sure, that your posts views counter plugin uses exactly ‘post_views’ meta key.
meta key post_views_count
but this dont work and author of plugin says
“`You just need to add:
‘orderby’ => ‘post_views’;
to any WP query. You can use any other WP_Query parameters as you’d normally do and no meta_key or orderby meta_value is required.`”
-
This reply was modified 4 years, 7 months ago by
andygroove.
@andygroove I think the best way is to try both options:
– to use ‘post_views’ as Meta key
– to use ‘post_views’ as Meta key numeric
And to check what will get better results.
I tried all variants but nothing happened
In “get request” nothing(((
https://test.andygroove.com/agro2/offers/
@andygroove if you use PRO version you should write support questions in comments on CodeCanyoun from the account you purchased the plugin.
This forum support is for free version plugin only.