Title: [Plugin: Power slider] Use specific categories
Last modified: August 20, 2016

---

# [Plugin: Power slider] Use specific categories

 *  [Zarce Baron](https://wordpress.org/support/users/zarce/)
 * (@zarce)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-power-slider-use-specific-categories/)
 * Hi!
    I’m trying to set specific categories to show up in power slider. Using 
   this code, I get only category which its id is 6:
 *     ```
       <?php
                           the_power_slider( array(
                               'category' => 6,
                               'limit' => 10,
                               'width' => 637,
                               'height' => 222,
                               'style' => 'white', // 'white', 'none'
                               'animation' => 'fade', // 'fade', 'horizontal', 'vertical'
                               'speed' => 600,
                               'delay' => 4000
                           ) ); ?>
       ```
   
 * However, using the following, I get ALL categories showing up:
 *     ```
       <?php
                           the_power_slider( array(
                               'category' => 6,8,
                               'limit' => 10,
                               'width' => 637,
                               'height' => 222,
                               'style' => 'white', // 'white', 'none'
                               'animation' => 'fade', // 'fade', 'horizontal', 'vertical'
                               'speed' => 600,
                               'delay' => 4000
                           ) ); ?>
       ```
   
 * When what I really wanted is to have both categories, 6 and 8 (or eventually 
   more in the future) showing up.
 * Is there a way to get it done?
 * Thanx
 * [http://wordpress.org/extend/plugins/power-slider/](http://wordpress.org/extend/plugins/power-slider/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Zarce Baron](https://wordpress.org/support/users/zarce/)
 * (@zarce)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-power-slider-use-specific-categories/#post-2631537)
 * Dear.. forget about it! Just found it!
    I’ll leave this message in case of anyone
   came up with the same problem.
 * Just need to use this version of code:
    `<?php the_power_slider( 'category=1&
   limit=10&animation=fade' ); ?>`
 * Shame on me! 😀

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Power slider] Use specific categories’ is closed to new replies.

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

## Tags

 * [specific categories](https://wordpress.org/support/topic-tag/specific-categories/)

 * 1 reply
 * 1 participant
 * Last reply from: [Zarce Baron](https://wordpress.org/support/users/zarce/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-power-slider-use-specific-categories/#post-2631537)
 * Status: not resolved