Configuring datetime conditions

Hi there -

I’m struggling to reliably get the datetime condition to work. Here’s what I have.

Note: TheWordPress Setting for timezone is set to Chicago, IL, USA. (and has been for over a year in case there could be a caching issue.)

I have a header with two bars. The goal is to show Bar A now through May 22; and from May 29th onward. Bar B should appear between May 22 – May 28.

Bar A is set to Today, before, Thu May 22 2025 23:59:00 GMT-0500 or Today, after, Wed May 28 2025 23:59:00 GMT-0500
Bar B is set to Today, after, Thu May 22 2025 23:59:00 GMT-0500 or Today, before, Wed May 28 2025 23:59:00 GMT-0500

I can currently see both bars in the builder with element conditions enabled. What am I missing? (fwiw, I saw an earlier post about specificy “today” and thought that was the solution, but can’t get it to work)

Also, how reliably should this work? I imagine the header will only change when the page refreshes which is more than reasonable. Knowing this will help me in my testing efforts.

Hi @WaggingLabs,

Thanks for reaching out.
If you want to show the specific Bar between two days, you need to use the AND instead of OR. I have checked the conditions and found that they are working correctly.

If that does not helps, please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password
– Specific page and section where you implemented the condition.

To create a secure note, click the key icon underneath any of your posts.

NOTE: Make sure that you are using the latest version of the Theme.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.