Schedule Content Using the Toggle Visibility Addon
The SiteOrigin Premium Toggle Visibility Addon now includes the option to schedule your content. Show or hide Page Builder rows or widgets using a customizable date range. When editing a row or widget, you’ll find a new Scheduling setting within the Toggle Visibility section.
Scheduling
Enable to display the scheduling section. Show or hide the row or widget between a selected date range. Once enabled, the following settings will be available.
Display: Choose between Show or Hide.
Date From: Select the date to show or hide the row or widget from.
Date To: Select the date to show or hide your row or widget to.
Toggle Visibility Logged In/Logged Out Using Shortcodes
The Toggle Visibility Addon has been expanded further to include a logged-in status shortcode. Content can be displayed or hidden based on a user’s logged-in status.
[toggle_visibility logged="in"]Only logged-in users will see this.[/toggle_visibility]
[toggle_visibility logged="out"]Only logged-out users will see this.[/toggle_visibility]
The Toggle Visibility logged shortcode can be used anywhere text is added in your page.
Links
SiteOrigin Premium plugin page.
Toggle Visibility Addon documentation.
Thanks for reading. If you have any questions or comments, please, let us know. If you’re a SiteOrigin Premium user and have any queries or requests, please, email [email protected] for quick support.
Brillant! Thanks.
Hi Hans, thanks for reading.
Re: Scheduling…
If I set a schedule to show an element on Friday until Saturday what happens?
* Is the element shown for 1 day (starting on Friday and stopping as soon as it becomes Saturday)
* Is the element shown for 2 days (starting on Friday, continuing on Saturday and stopping when it becomes Sunday)
Which is it?
Hi Rex,
With those selections, 2 days. With your example values, the element will start appearing on Friday at 00:00 and then disappear on Saturday at 23:59. For the element to only appear for one day you’ll need to set the From and To date to the same value. In that case, that means Friday and Friday.
Kind regards,
Alex