Support » Plugin: Dynamic Conditions » Show widget “days” before ACF Date

  • Hello rtowebsites,
    I’ve been using your plugin for while and I love it, powerful and useful.
    Wondering if you could enlighten me with my issue.

    I have a series of widgets and these have to be shown, for instance, one every week. So if I have 4 widgets, one by one each week, eventually at the end of the month they all are visible.

    The Dynamic Tag is an ACF date field.

    Are there solutions available with your plugin?

    Thanks in advance for your time!

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



    you can use Date as Compare-Type and check if current date is greater or smaller than.

    Hi, thanks for answering.
    I admit I haven’t really explained precisely that the widgets have to be shown starting from the date given on an ACF, in this way the condition is set dynamically without the need to adjust manually.

    One way I see to reach my intent is to make a math subtraction of the dates and compare the result to my condition.
    The first date should be pulled from an ACF while the second should be “now”, and if the result is >= 2 days, then show content.

    I hope the example helped to clarify the logic.

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