Title: multiple categories in shortcode?
Last modified: August 22, 2016

---

# multiple categories in shortcode?

 *  [erodegrigo](https://wordpress.org/support/users/erodegrigo/)
 * (@erodegrigo)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/)
 * Hi
 * I’m trying to set multiple categories in shortocode.
    I’m using this: cat=”12,34,33″
   but in frontend i see only first category. My need is to show 1 category with
   it’s subcategories.
 * Thanks for answers.
 * [https://wordpress.org/plugins/recent-posts-widget-extended/](https://wordpress.org/plugins/recent-posts-widget-extended/)

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

 *  [SandyRig](https://wordpress.org/support/users/sandyrig/)
 * (@sandyrig)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483788)
 * Same issue here. Need to show more than one category using shortcode. Also other
   shortcode args not working like readmore=”true”, thumb=”false” and date=”false”.
 *  [marek](https://wordpress.org/support/users/bahus01/)
 * (@bahus01)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483790)
 * To display multiple categories type:
 * category=5,3
 * Into ‘Limit to Taxonomy’ box.
 *  [SandyRig](https://wordpress.org/support/users/sandyrig/)
 * (@sandyrig)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483793)
 * I dont understand. This is my current short code.
 * [rpwe cat=”39,38″ limit=”5″ order=”DESC” orderby=”date” thumb=”false” date=”false”
   readmore=”true” length=”8″ excerpt=”true” readmore_text=”Read More »”]
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483796)
 * Please try change the `cat` with `taxonomy="category=1,2,3"`
 * I’ll improve the shortcode function shortly.
 *  [SandyRig](https://wordpress.org/support/users/sandyrig/)
 * (@sandyrig)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483797)
 * Ok Great. I ll try that. Thanks!
 *  [sheps24](https://wordpress.org/support/users/sheps24/)
 * (@sheps24)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483812)
 * Hi, i can’t seem to select more than one category from the tick box selection.
   If i select more than one it just defaults back to one?
 *  [glally](https://wordpress.org/support/users/glally/)
 * (@glally)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483842)
 * I have the similar situation and I am using following shortcode, however it is
   displaying everything not restricting to the given categories. I have also tried
   to putting only one category which is also not working in this scenario [rpwe
   limit=”1000″ taxonomy=”category=25,45,2,3,4″ date=”” excerpt=”true” length=”20″
   thumb=”” thumb_height=”1″ thumb_width=”1″ readmore=”true” readmore_text=”Read
   More” styles_default=””]

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

The topic ‘multiple categories in shortcode?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [glally](https://wordpress.org/support/users/glally/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/multiple-categories-in-shortcode/#post-5483842)
 * Status: not resolved