• Resolved blueironeye

    (@blueironeye)


    `Hey everbody, first of all: Thanks for your lovely and helpful plugin! :).

    I got a question. is there a way i can work with “if operators”?

    Im working on a calender integration and the plugin is missing the “date-feature”. Is there a way of showing todays date (including weekdays) but when the clock hits 00:00 the day before shows next week date?

    for example:

    Today is tuesday, so the calender looks like:

    Mo 15.11, Tue 09.11, WED 10.11, (etc)

    After the clock hit 00:00:
    Mo 15.11, Tue 16.11, WED 10.11, (etc)

    Is this possible?

    Kind regards and many thanks in advance,
    Blue

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Denra.com

    (@denra)

    Hi @blueironeye,

    The plugin does not support “if” operators. But for the described logic you may use something similar to:

    [wpdts-date start="next week tuesday"]

    or

    [wpdts-date-time next="1, 14, 20, tue 18:00, thu 18:00, last-day-of-month 16:00"].

    This is the maximum you can achieve using the built-in PHP date and time functions or the special ones from the plugin. Please check out the examples in our website for more information or ideas:
    https://denra.com/products/wordpress/plugins/wp-date-and-time-shortcode/

    Thank you for using our plugin.

    Thread Starter blueironeye

    (@blueironeye)

    Thank you very much ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need logical construction’ is closed to new replies.