• Hello,

    I use [ai1ec cat_name=”mycategory”] shortcode to display the list of events of a given category. It displays the next events. How can I make that it displays ALL events (even the past ones) but applies some CSS class if the event is past, another if the event is the NEXT ONE (or today) to have it bold for instance, and another class if the event is after…

    For instance, now on January 16th, I would like to display :
    december 12th – event 1 (“ai1ec-date” class + add “myPastEvent” class)
    december 15th – event 2 (“ai1ec-date” class + add “myPastEvent” class)
    january 13th – event 3 (“ai1ec-date” class + add “myPastEvent” class)
    january 20th – event 4 (“ai1ec-date” class + but add “nextEvent” class)
    january 25th – event 5 (“ai1ec-date” class + add “futureEvent” class)
    january 30th – event 6 (“ai1ec-date” class + add “futureEvent” class)

    How can I achieve that ?

    Thank for your advises !

    T.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[ai1ec] Show all events but makes bold the next event’ is closed to new replies.