Title: Dynamic Content &#8211; Recent Posts &#8211; no data
Last modified: August 21, 2016

---

# Dynamic Content – Recent Posts – no data

 *  Resolved [c741535](https://wordpress.org/support/users/c741535/)
 * (@c741535)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/dynamic-content-recent-posts-no-data/)
 * Hi, thanks for this plugin, it’s clear you’ve spent a lot of effort putting it
   together. I am having a problem setting up a slider to display most recent posts
   from WordPress.
 * If I choose max. number of posts = 0 and preview I get ‘No data found’ (it’s 
   not just the preview I updated the slider and the same issue appears on the site).
 * If I choose a value of 5 I get the same thing, no data.
 * Changing the value to 10 I get one post, but it’s not the most recent, it’s perhaps
   the 5th most recent.
 * Changing the value to 50 results in ‘No data Found’ again… very strange.
 * All the posts are ‘Uncatagorised’ with no tags etc. They all display perfectly
   on the blog/posts page of my WordPress site. Some have images in them, others
   do not.
 * Any help in debugging/solving this is appreciated.
 * Regards,
    Andy
 * [http://wordpress.org/extend/plugins/easyrotator-for-wordpress/](http://wordpress.org/extend/plugins/easyrotator-for-wordpress/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [DWUser](https://wordpress.org/support/users/dwusercom/)
 * (@dwusercom)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/dynamic-content-recent-posts-no-data/#post-3710098)
 * Hi Andy,
 * Thanks for using EasyRotator for WordPress. When searching for posts, it’s not
   possible to only search posts that have a featured image; so, the max posts setting
   counts applies to all posts, before the featured image filtering occurs. So, 
   if many of the potential matches don’t have a featured image the number of posts
   will seem incorrect. If many of your site’s posts don’t have featured images,
   the best solution is to apply a tag to those posts that do and only search for
   posts with that tag.
 * Please let me know if I can provide any more clarification about the best configuration
   approach for your situation.
 * Sincerely,
    Drew O’Neill
 *  Thread Starter [c741535](https://wordpress.org/support/users/c741535/)
 * (@c741535)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/dynamic-content-recent-posts-no-data/#post-3710216)
 * Hi Drew,
 * Thanks for your reply. Is there an implied selection criteria for posts? For 
   example does a post have to have an image (whether it’s set as a featured image
   or not)? Can the slider include posts that don’t have images, or is that defeating
   the purpose of the slider? Lots of my posts have images, but they’re not set 
   as Featured Image…
 * You’ve given me food for thought, I’ll do some tests with the images in my posts
   and see if that delivers different results.
 * Cheers,
    Andy
 *  Plugin Author [DWUser](https://wordpress.org/support/users/dwusercom/)
 * (@dwusercom)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/dynamic-content-recent-posts-no-data/#post-3710244)
 * Hi Andy,
 * When the search is run, it returns all posts – recent ones, or ones in a given
   category. Then, the plugin loops through those results. Any post that has a featured
   image is kept; any post that does not have a featured image is discarded.
 * If you would like to modify the filtering or selection criteria (for example,
   to search the post content and use those photos instead of the featured image),
   you can edit the getFeaturedPhotoInfo method (around line 1677) in `easyrotator-
   for-wordress/engine/main.php`.
 * Sincerely,
    Drew O’Neill
 *  Thread Starter [c741535](https://wordpress.org/support/users/c741535/)
 * (@c741535)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/dynamic-content-recent-posts-no-data/#post-3710253)
 * Thanks Drew, that is really helpful, problem solved.
 * Cheers,
    Andy.
 *  Plugin Author [DWUser](https://wordpress.org/support/users/dwusercom/)
 * (@dwusercom)
 * [13 years ago](https://wordpress.org/support/topic/dynamic-content-recent-posts-no-data/#post-3710275)
 * Hi,
 * Happy to help! If you have a minute sometime, we always appreciate plugin reviews:
   [http://wordpress.org/support/view/plugin-reviews/easyrotator-for-wordpress](http://wordpress.org/support/view/plugin-reviews/easyrotator-for-wordpress)
 * Please let me know if I may help with anything else.
 * Sincerely,
    Drew O’Neill

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dynamic Content – Recent Posts – no data’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easyrotator-for-wordpress_72a6c3.
   svg)
 * [EasyRotator for WordPress - Slider Plugin](https://wordpress.org/plugins/easyrotator-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easyrotator-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easyrotator-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/easyrotator-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easyrotator-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easyrotator-for-wordpress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [DWUser](https://wordpress.org/support/users/dwusercom/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/dynamic-content-recent-posts-no-data/#post-3710275)
 * Status: resolved