Popular Posts Returns Nothing
-
Hi There!
Came across your plugin when trying to display the most popular 5 posts (of a custom post type) of the past 7 days. I’ve installed Jetpack and your other plugin, BE Stats, to try to get this to work (yes, Jetpack stats are on and I can see views on CPTs). The shortcode I have right now is:
[display-posts orderby="popular" post_type="scrum_term"]
where scrum_term is my post type. The shortcode works when I pull out the “orderby” attribute, but obviously I need that in for it to work the way I need.I var_dumped the $listing query object around line 375 and I can see all the args getting passed in from the BE Stats plugin, so I’m not sure what the hang up is. Running
have_posts()
on the object returns false.Any chance you can take a look? Let me know if you need any more info.
Thanks in advance,
Emma
- The topic ‘Popular Posts Returns Nothing’ is closed to new replies.