Support » Plugin: Theater for WordPress » Event disappearance delay

  • Resolved vaacum

    (@vaacum)


    Hey,

    Is it possible to delay the disappearance of the events from the agenda to the end of the day of the event, in stead of the beginning time?

    Thanks, Rob

    • This topic was modified 1 month, 3 weeks ago by  vaacum.
    • This topic was modified 1 month, 3 weeks ago by  vaacum.
    • This topic was modified 1 month, 3 weeks ago by  vaacum.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeroen Schmit

    (@slimndap)

    Hi Rob,

    You need to experiment with the ‘start’ parameter.

    Usually, if you want to display all upcoming event, you would use somehing like this:

    [wpt_events start="now"]

    The value of start can be anything that PHP’s strtotime() function understands:
    http://php.net/manual/en/function.strtotime.php

    So, in your case, perhaps this does the trick:

    [wpt_events start="today"]

    Jeroen

    • This reply was modified 1 month, 2 weeks ago by  Jeroen Schmit.
    vaacum

    (@vaacum)

    It works very well, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.