EasyRotator for WordPress - Slider Plugin
[resolved] Doesn't work for custom post types (3 posts)

  1. harveyharveyharvey
    Posted 3 years ago #

    This doesn't show posts from Custom Post Types. Anyone know how to make it work?


  2. DWUser
    Plugin Author

    Posted 3 years ago #

    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',


    '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.

    Drew O'Neill

  3. harveyharveyharvey
    Posted 3 years ago #


    thank you very much for getting back to me. you have saved me searching through miles of code! i will try this later =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • EasyRotator for WordPress - Slider Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic