• Hi, this might be an unusal question, but I have a special scenario to list events that I haven’t found any reliable plugin that can handle. Looking at your shortcode list, I don’t think (?) EO can either.

    But, maybe you think implementing the necessery funcion and shortcode is worth while, so I state my scenario here.

    Okay, what I need is a feed with 4 events from 4 different categories, where each is the latest in each category – all 4 sorted by date.

    Example to clarify my scenario. If I had 4 categories with these event days in place:

    Cat-1
    Jun 20
    Jun 25
    Jul 2

    Cat-2
    Aug 3
    Sep 17
    Sep 28

    Cat-3
    Jun 17
    Aug 7
    Oct 16

    Cat-4
    Jul 3
    Jul 6
    Sep 12

    My feed would be these four, the closest date from each cat:

    Jun 17 (cat 3)
    Jun 20 (cat 1)
    Jul 3 (cat 4)
    Aug 3 (cat 2)

    A shortcode would be something like this (with the last one made up by me…, and assuming its possible to use multiple categories – and assuming these are sorted by event date):

    [eo_events event_category="cat1" event_category="cat2" event_category="cat3" event_category="cat4" numberposts="4" numberposts_by_category="1]

    What do you think?

  • The topic ‘Multiple categories and new shortcode?’ is closed to new replies.