Shortcodes options: multiple categories

WordPress Event Management, Calendars & Registration Forums General Question Shortcodes options: multiple categories

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 9 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17300

    Hello,

    I’m using shotcode like this:

    [eo_events event_category=”2014-2015″]

    Everything is OK but now i would like to “sort” events that are in category “2014-2015” AND in category “Concert”.
    Is it possible?

    Thank’s for your answer… and genarally for this great plugin.

    Best

    Vincent
    #17311

    Hi Vincent,

    I’m afraid not, an ‘OR’ rather than ‘AND’ are applied to multiple categories in event_category. i.e.

    [eo_events event_category=”2014-2015,Concert”]

    will return events that have are in the category “2014-2015” or “Concert”.

    However, it looks like that you are using categories to groups events by year, is that right? You could do that as follows:

    [eo_events event_category=”Concert” event_start_after=”2014-01-01″ event_start_before=”2014-12-31″]

    (returns events in Convert which start in 2014).

    Similarl you can return events which start within any desired period. This saves you having to manually add the appropriate category.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.