riverwyre
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by riverwyre
-
-
On 11/18/2021 at 6:24 PM, creedon said:
Please see Page Section Hide After Expiration Date.
Let us know how it goes.
Hi,
This code doesn't seem to be working for me, though I'm pretty sure I've used it correctly as directed. Any chance you could advise where I'm going wrong?
https://www.pelvicpriestess.co.uk/theredthread-booking
I'm wanting to hide the data section with the Early Bird offers at the end of May 11th 2024, and then show the data section below with the Standard offers to replace it (i've currently hidden the Standard data section as it's a live page, and I don't want it showing at moment).
I can't get the code to hide the first section (i've been testing using today's date and time), and I'm hoping you can advise on code to show the replacement section.
Many thanks
Hide section inside a page based on a date/time
in Customize with code
Posted
Amazing - it works!
So, if I want to make the second section appear when the first one disappears, can I simply use the same code on the second section (changing the data section id) but on the last line, change 'display', 'none' to ''display', 'flex'? Tell me it's that easy!!!
Many thanks for your help!