Support » Plugin: Events Manager » combine list-event shortcodes

  • Resolved trevize



    I use shortcodes to display list of event.

    I have 4 categories of event (cat1, cat2, cat3, cat4)

    I want to display a list with 4 events including the 2nd event of the first cat and the events of the 3 others cats. I want to display that 4 events in chronological DESC order.

    For now, i use these 2 shortcodes :

    [events_list scope=’future’ limit=1 category=’cat1′ offset=”1″]
    [events_list scope=’future’ limit=3 category=’cat2, cat3, cat4′]

    But the 1st event is always the 2nd event of the cat1 even if it take place after the other events.

    Is there a way to combine that 2 shortcodes into 1 in order to solve my problem of chronological order ?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Sorry But even after reading the question multiple times. I’m still confused with what you mean. But you want to combine them you could just use what you did on the 2nd shortcode.

    [events_list scope=’future’ limit=3 category="1,5,62,857"]

    Also I noticed that you’re adding an offset=”1″ on the 1st shortcode. You could check here on what offset does:

    Thanks for your reply.

    Your shortcode is not good for my need.
    I need to avoid the 1st event of the 1st category.

    That’s the reason I used an offset=1″ on the first shortcode.

    I think another approach is to Add the Events you want to be removed on a Category.

    If you want to Remove the Events A, B and C. Add them to a Category (ie: Special Events)

    Then Just create a shortcode like the following. Please do note that the “-1” means that you would not display any Events with that category.

    [events_list scope="future" category="-1,100,200,300"]

    More information here:

    • This reply was modified 1 year, 2 months ago by timrv.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘combine list-event shortcodes’ is closed to new replies.