Divi Hacks Plugin
Examples & DocumentationHide/Show Content Based on Time/Date
- showit-YYYY-MM-DD+00:00
- showit-YYYY-MM-DD
- showit-00:00
- hideit-YYYY-MM-DD+00:00
- hideit-YYYY-MM-DD
- hideit-00:00
Usage
Description: This hack gives you the ability to hide or show content based on date, time, or date and time.
Setup: Add any of the classes below to show and hide the content. You must use the same date & time format as specified in the classes below:
Showing Elements:
showit-YYYY-MM-DD+00:00 | Show on exact day and time (use military time) |
showit-YYYY-MM-DD | Show on day only (starts on midnight local user time) |
showit-00:00 | Show at specific time every day (for repetetive events) (use military time) |
Hiding Elements:
hideit-YYYY-MM-DD+00:00 | Hide on exact day and time (use military time) |
hideit-YYYY-MM-DD | Hide on day only (starts on midnight local user time) |
hideit-00:00 | Hide at specific time every day (for repetetive events) (use military time) |