• Here is a suggestion:

    When using the future or past options, is it a possibility to add an option to set the range? ex: future-days= or past-days=

    If that was possible then for example I would set the code like this:

    [events_list nb=-1 future=1 future-days=30 past=1 past-days=7]

    This way if someone sets an event months in advance it does not sit there at the top all that time and allowing events to stay on the list a few days after they expire allows people to access the event to possibly post comments about the event.

    https://wordpress.org/plugins/event-post/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bastien Ho

    (@bastho)

    Hi

    Here is a good suggestion, that’s a reason why I like to publish plugins 😉
    It also would be possible to use the <?php strtotime() ?> function to make it more flexible.
    For example, we could use the feature like this

    [event_list nb=-1 future=1 future-range=”1 month” past=1 past-range=”2 years”]

    And for static pages, for a specific group of events, it would be also possible to add this parameters

    [event_list nb=-1 future=1 date-from=”2014-08-01″ past=1 date-to=”2014-08-31″]

    What do you think about it ?

    Thread Starter schulz

    (@schulz)

    Yes. I think your idea is an improvement on my suggestion.

    BTW: I am sorry that I did not respond to this sooner as I was confused as to what you were asking of me? After I revisited this thread, I figured out what you were saying.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature request: More options for future/past…’ is closed to new replies.