Title: [Plugin: Events] shortcode with multiple categories
Last modified: August 20, 2016

---

# [Plugin: Events] shortcode with multiple categories

 *  [ozzie5](https://wordpress.org/support/users/ozzie5/)
 * (@ozzie5)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-shortcode-with-multiple-categories/)
 * I am using WP 3.1 and events version 2.2.2.
 * I am trying to list multiple specific categories on a page using the short-code
   with multiple category id’s, for example [events_show category=”2,4,7,12″].
 * This does not seem to work. The page only displays the first category it finds(
   in the example it would be id 2).
 * Is there a solution ?
 * [http://wordpress.org/extend/plugins/wp-events/](http://wordpress.org/extend/plugins/wp-events/)

Viewing 1 replies (of 1 total)

 *  [danielseibert](https://wordpress.org/support/users/danielseibert/)
 * (@danielseibert)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-events-shortcode-with-multiple-categories/#post-3107532)
 * Hi,
    I found out today: Just use multiple shortcodes. For your example above,
   it would look like this:
 * [events_show category=”2″]
 * [events_show category=”4″]
 * [events_show category=”7″]
 * [events_show category=”12″]
 * On my page, this results in a list sorted by date containing events of all categories.
 * I hope it will work for you as well.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Events] shortcode with multiple categories’ is closed to new
replies.

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

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [danielseibert](https://wordpress.org/support/users/danielseibert/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-events-shortcode-with-multiple-categories/#post-3107532)
 * Status: not resolved