Title: Custom feature.
Last modified: August 22, 2016

---

# Custom feature.

 *  Resolved [rotimok](https://wordpress.org/support/users/rotimok/)
 * (@rotimok)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/)
 * Hello,
    Firstly, i will like to commend the wonderful job you’d done in creating
   such useful plugin. it does exactly what it promises and it’s absolutely fantastic.
 * I’m working on a movie website where all new post’s feature images automatically
   show on my homepage slider. But WPMovies don’t show there.
    Can you help me so
   that it functions like default posts and show up on homepage slider? I don’t 
   mind buying you a beer.
 * Thanks in advance.
 * [https://wordpress.org/plugins/wpmovielibrary/](https://wordpress.org/plugins/wpmovielibrary/)

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

 *  Thread Starter [rotimok](https://wordpress.org/support/users/rotimok/)
 * (@rotimok)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185578)
 * [http://www.lagimo.com](http://www.lagimo.com) that’s the website URL if you 
   need any other details, please let me know. Thanks
 *  [Charlie Merland](https://wordpress.org/support/users/askelon/)
 * (@askelon)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185709)
 * Hi rotimok,
 * Thanks for the kind words and glad you like this plugin 🙂
 * That’s actually an “issue” with the theme rather than the plugin, but since you’re
   using a premium theme I can’t help you right now; would you mind sending me the
   theme archive by mail so that I can show you what and where to edit? → support[
   at]wpmovielibrary[dot]com 🙂
 *  Thread Starter [rotimok](https://wordpress.org/support/users/rotimok/)
 * (@rotimok)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185740)
 * Thanks for the prompt response Charlie.
 * Do you mean archive.php file or the whole, theme.zip file.
    However, i can send
   any of the above at your request. Thanks.
 *  [Charlie Merland](https://wordpress.org/support/users/askelon/)
 * (@askelon)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185742)
 * Yeah I meant the theme’s ZIP file. That’s essentially because the relevant parts
   can be located in various files, so it’ll be easier than asking you for multiple
   files 🙂
 *  Thread Starter [rotimok](https://wordpress.org/support/users/rotimok/)
 * (@rotimok)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185745)
 * Ok, I just sent you the theme zip file. 🙂
 *  [Charlie Merland](https://wordpress.org/support/users/askelon/)
 * (@askelon)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185750)
 * Got it, nailed it 🙂
 * In the theme’s `header.php` file, edit the block at line 169-172 from:
 *     ```
       $queryObjectslide = new WP_query( array(
       	'cat' => $slideshow_category,
       	'posts_per_page' => $slideshow_num
       ) );
       ```
   
 * To:
 *     ```
       $queryObjectslide = new WP_query( array(
       	'post_type' => array( 'post', 'movie' ),
       	'cat' => $slideshow_category,
       	'posts_per_page' => $slideshow_num
       ) );
       ```
   
 * That should do the trick!
 *  Thread Starter [rotimok](https://wordpress.org/support/users/rotimok/)
 * (@rotimok)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185781)
 * Wooooow!!!!! Thanks a lot Charlie. you’re a genius. It worked like a charm. I
   give you an “A+” for your plugin and support service. I’m definitely rating this
   5 star. My donation should come through before or by weekend.
    Thanks once again.
 *  [Charlie Merland](https://wordpress.org/support/users/askelon/)
 * (@askelon)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185806)
 * Glad it’s working now! Best luck with your website 🙂
 *  Thread Starter [rotimok](https://wordpress.org/support/users/rotimok/)
 * (@rotimok)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185839)
 * One observation Charlie, “related posts” carousel only shows blog posts instead
   of movies. What do I do. Thanks.
 *  [Charlie Merland](https://wordpress.org/support/users/askelon/)
 * (@askelon)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185844)
 * In sevenmag’s `functions.php` file, add this line right after line 466:
 * `'post_type' => array( 'post', 'movie' ),`
 * That’s kind of a generic solution: whenever you see a theme/plugin/widget feature
   showing posts and not movies, you need to find the code block that handle that
   feature, find any occurrence of functions/methods like `get_posts` or `WP_Query`
   and make sure there’s a `'post_type' => array( 'post', 'movie' )` in the arguments
   🙂
 *  Thread Starter [rotimok](https://wordpress.org/support/users/rotimok/)
 * (@rotimok)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185870)
 * Works!!!! Thanks 😀 😀

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

The topic ‘Custom feature.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpmovielibrary_f6ad77.svg)
 * [WPMovieLibrary](https://wordpress.org/plugins/wpmovielibrary/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpmovielibrary/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpmovielibrary/)
 * [Active Topics](https://wordpress.org/support/plugin/wpmovielibrary/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpmovielibrary/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpmovielibrary/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [rotimok](https://wordpress.org/support/users/rotimok/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/custom-feature/#post-5185870)
 * Status: resolved