Title: using category_name
Last modified: August 31, 2016

---

# using category_name

 *  Resolved [amadhav1](https://wordpress.org/support/users/amadhav1/)
 * (@amadhav1)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-category_name/)
 * Hello,
 * I love slick slider, but I have a question. Do you know how I can have the category
   pull in category_id or category_name? we are on a multisite wordpress install.
   Depending on how many categories that each site alreay has, not all of the ‘home’
   sliders are using the same category 16. Is is possible for us to do
 *     ```
       echo do_shortcode('[slick-slider design="design-2" category="home" show_content="true"
        dots="true" arrows="false" autoplay="true" sliderheight="700"
        autoplay_interval="5000" speed="1000" effect="false"]');
       ```
   
 * instead of
 *     ```
       echo do_shortcode('[slick-slider design="design-2" category="16" show_content="true"
        dots="true" arrows="false" autoplay="true" sliderheight="700"
        autoplay_interval="5000" speed="1000" effect="false"]');
       ```
   
 * In the documentation it says that category=”category_ID”, and I want category
   =”category_ID or category_name”
 * thank you,
 * Aaron
 * [https://wordpress.org/plugins/wp-slick-slider-and-image-carousel/](https://wordpress.org/plugins/wp-slick-slider-and-image-carousel/)

Viewing 1 replies (of 1 total)

 *  [wponlinesupport](https://wordpress.org/support/users/wponlinesupport/)
 * (@wponlinesupport)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-category_name/#post-7295362)
 * Hello,
 * Kindly use the category ID. You can find the category shortcode under slick slider–
   > Category section.

Viewing 1 replies (of 1 total)

The topic ‘using category_name’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-slick-slider-and-image-carousel_adc8e2.
   svg)
 * [WP Slick Slider and Image Carousel](https://wordpress.org/plugins/wp-slick-slider-and-image-carousel/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slick-slider-and-image-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slick-slider-and-image-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slick-slider-and-image-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slick-slider-and-image-carousel/reviews/)

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [category_name](https://wordpress.org/support/topic-tag/category_name/)

 * 1 reply
 * 2 participants
 * Last reply from: [wponlinesupport](https://wordpress.org/support/users/wponlinesupport/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/using-category_name/#post-7295362)
 * Status: resolved