• Resolved abdesign_germany

    (@abdesign_germany)


    I try to set up opening times for a client. normal times shall repeat once every week, infinitely. but furthermore there are holidays when the company is closed. instead of altering the normal times to display no time from x to y and instead display z, i wanted to do a nested thing like that:

    [normal times / hide from x to y]
    [normal time / mondays – show mondays until 2020]…[/normal time]
    [normal time / tuesdays – show mondays until 2020]…[/normal time]
    [normal time / wednesdays – show mondays until 2020]…[/normal time]
    [normal time / thursdays – show mondays until 2020]…[/normal time]
    [normal time / fridays – show mondays until 2020]…[/normal time]
    [normal time / saturdays – show mondays until 2020]…[/normal time]
    [normal time / sundays – show mondays until 2020]…[/normal time]
    [/normal times]
    [holidays / show from x to y]
    [holiday times]…[/holiday times]
    [/holidays]

    but somehow it does not work. it’s still showing the actual normal time content and on top the closing tag [/normal times]

    how do i get this working?

    https://wordpress.org/plugins/timed-content/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter abdesign_germany

    (@abdesign_germany)

    haha sorry, lot’s of copy/paste fails… but i think you get the picture. the “show mondays until 2020” obviously has to be replaced with the other days. but i’m sure you already figured that out by yourself 😉

    Plugin Contributor K. Tough

    (@kjvtough)

    Hi, abdesign_germany.

    Right now, there’s no way to define date exceptions in a Timed Content Rule (although I could see this being a future feature). What you might try is nesting holiday “hide” rules in your normal time rules.

    Plugin Contributor K. Tough

    (@kjvtough)

    Marking as resolved; date exceptions added to v. 2.3.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘nested conditions?’ is closed to new replies.