Title: [Plugin: WP Calendar] Category Sorting
Last modified: August 20, 2016

---

# [Plugin: WP Calendar] Category Sorting

 *  Resolved [ColumbiaWebDev](https://wordpress.org/support/users/prfctgdess/)
 * (@prfctgdess)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-category-sorting/)
 * (Using WP Calendar 1.5.0)
 * Maybe I’m missing something basic, but any feedback would be GREATLY appreciated!
 * I created a calendar with 2 test events, each in a different category. I put 
   the shortcode `{events_calendar categories="1,5"; }` on a page; the calendar 
   shows up, but does NOT filter categories. It displays the same result as a simple`{
   events_calendar}` call.
 * What am I missing? Maybe I have the categories set up incorrectly… does it use
   the default Posts categories? And how do I know what numbers the categories are(
   does it go by the slug)?
 * [http://wordpress.org/extend/plugins/wp-calendar/](http://wordpress.org/extend/plugins/wp-calendar/)

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

 *  Thread Starter [ColumbiaWebDev](https://wordpress.org/support/users/prfctgdess/)
 * (@prfctgdess)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-category-sorting/#post-2922165)
 * Figured out the category ID numbers (temporary brain-freeze, sorry, I knew where
   they were) but the filtering still doesn’t seem to work.
 * {events_calendar categories=”1,2″}
    displays all the events, just as if it were
   simply {events_calendar}
 * (**for anyone else reading this, to find the category ID, go to your Events page.
   On the right under Category, hold your cursor over the link (don’t click) and
   look at the bottom info pane on your browser. The link displayed will show you
   the category ID number**)
 *  [rroettge](https://wordpress.org/support/users/rroettge/)
 * (@rroettge)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-category-sorting/#post-2922218)
 * I was very successfull filtering events by categorie within the event list:
    {
   events_print; categories=172} I didn’t allready do it with the calendar.
 * But what I am wondering:
    You said, you have 2 events within 2 categories. When
   you define those 2 categories, of course all events should be displaid. In this
   case you should try: {events_calendar categories=1} to show only one of the categories.
 * Regards
    Ruth
 *  Plugin Author [faebu](https://wordpress.org/support/users/faebu/)
 * (@faebu)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-category-sorting/#post-2922286)
 * may be you are missing the semicolon?
 * {events_calendar**;** categories=”1,2″}
 *  Thread Starter [ColumbiaWebDev](https://wordpress.org/support/users/prfctgdess/)
 * (@prfctgdess)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-category-sorting/#post-2922287)
 * No, I had the semicolon, but thanks. 🙂
 * For some reason it seems to be working now. 😛 I tried it one day and it wasn’t
   working. Made NO CHANGES to the site AT ALL and the next time I tried it was 
   working. Maybe my server was slow to update changes or something??? Anyway, it
   works, so yay!! Thanks everyone!

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

The topic ‘[Plugin: WP Calendar] Category Sorting’ is closed to new replies.

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

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [ColumbiaWebDev](https://wordpress.org/support/users/prfctgdess/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-category-sorting/#post-2922287)
 * Status: resolved