WordPress.org

Ready to get started?Download WordPress

Forums

Events
shortcode with multiple categories (2 posts)

  1. ozzie5
    Member
    Posted 1 year ago #

    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/

  2. danielseibert
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic