• Resolved videomike

    (@videomike)


    First of all I was using MR Events for years and today found your plugin. Halleluja – what a difference in features – fantastic! Thank you very much for this.

    I noticed the feature to have events from the past couple of days shown in the list.
    It would be fantastic if those were wrapped in a different CSS class so it would become possible to give them a different styling, e.g. show events that are in the past in italics or red or something similar.

    Would you consider this in the next plugin update?

    kind regards

    Mike

    https://www.ads-software.com/plugins/rs-event-multiday/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wp-lefty

    (@wp-lefty)

    Hi Mike,
    great idea, however, the new css-classes might interfere with the way other users have set up their functions and plugins.
    You can easily get what you want by using the function rs_event_id(). Just use it twice, the first time for future events, the second time for past events. As soon as you have the ids of the posts, you can modify the output the way you want it.
    Of course, this works similar with the function rs_event_list().
    If you use the widget, simply add to instances of the widget and modify the settings.

    Plugin Author wp-lefty

    (@wp-lefty)

    solved, sort of…

    Thread Starter videomike

    (@videomike)

    Hi WP-Lefty

    Wow that was a quick answer.
    While it might be a solution for people creating their own themes or coding their own widgets, it does not really help the “widgets only” users. Why not implement a checkbox and only add an extra class when the checkbox is checked. This would not interfere with existing setups at all as the output would stay the same when the checkbox is not ticked.

    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different CSS class for dates in the past’ is closed to new replies.