Title: Doesn&#039;t work for custom post types
Last modified: August 21, 2016

---

# Doesn't work for custom post types

 *  Resolved [harveyharveyharvey](https://wordpress.org/support/users/harveyharveyharvey/)
 * (@harveyharveyharvey)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-for-custom-post-types/)
 * This doesn’t show posts from Custom Post Types. Anyone know how to make it work?
 * [http://wordpress.org/extend/plugins/easyrotator-for-wordpress/](http://wordpress.org/extend/plugins/easyrotator-for-wordpress/)

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

 *  Plugin Author [DWUser](https://wordpress.org/support/users/dwusercom/)
 * (@dwusercom)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-for-custom-post-types/#post-3889917)
 * Hi Harvey,
 * Thanks for using EasyRotator for WordPress. If you’re comfortable making edits
   to the plugin code, you should be able to add this feature by modifying the following
   code around line 1682 in `wp-content/plugins/easyrotator/engine/main.php` (within
   the `getFeaturedPhotoInfo` method):
 * `'post_type' => 'post',`
 * Becomes:
 * `'post_type' => array('post', 'event'),`
 * Essentially, you just replace the string with an array of any content types you
   want to include. They will be included as long as they have an associated featured
   image.
 * Please let me know if you have any other questions.
 * Sincerely,
    Drew O’Neill
 *  Thread Starter [harveyharveyharvey](https://wordpress.org/support/users/harveyharveyharvey/)
 * (@harveyharveyharvey)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-for-custom-post-types/#post-3889918)
 * brilliantayyy!
 * thank you very much for getting back to me. you have saved me searching through
   miles of code! i will try this later =)

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

The topic ‘Doesn't work for custom post types’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [harveyharveyharvey](https://wordpress.org/support/users/harveyharveyharvey/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-for-custom-post-types/#post-3889918)
 * Status: resolved