What's good about Expiry is that this stack uses server side code (PHP) to regulate whether content is shown or hidden. This decision making happens on the web server, before the webpage gets sent down to the web browser for display. Therefore a website user can't "fiddle" their clock settings to view content or look for it hidden in the page source code! The latter are potential weaknesses you may face with using client side Javascript to hide or display content. Expiry is very reliable, in this regard.
In the easiest configuration, you could set a single date and time, you want content hidden after. Alternatively you could setup two date ranges, and choose to have content shown or hidden outside of these dates. Should you need to, it's also possible to nest one Expiry stack inside of another!
If you need a more advanced array of date and display controls, the AdvancedPublisher set of stacks is definitely a better upgrade over Expiry. These stacks can help you do things like repeat an event daily, weekly or monthly and create more sophisticated test conditions. Expiry and AdvancedPublisher replace the former SeyDesign TimeRelease stack.
In the easiest configuration, you could set a single date and time, you want content hidden after. Alternatively you could setup two date ranges, and choose to have content shown or hidden outside of these dates. Should you need to, it's also possible to nest one Expiry stack inside of another!
If you need a more advanced array of date and display controls, the AdvancedPublisher set of stacks is definitely a better upgrade over Expiry. These stacks can help you do things like repeat an event daily, weekly or monthly and create more sophisticated test conditions. Expiry and AdvancedPublisher replace the former SeyDesign TimeRelease stack.
Examples
Here are some basic examples of the Expiry stack in action:This Expiry stack was setup to display content at any time before 25th December 2022. So if you are looking at this page before this date, you should be reading this content right now!
This Expiry stack was setup to display content after 4th July 2013. So if you are looking at this page after this date, you should be reading this content right now!
Expiry supports all basic content types, including text, Markdown, HTML, images, audio and video. Almost any stack can be nested (placed within) Expiry and configured to display at a precise date and time. Expiry works great with many of the other stacks available on this website. You can safely use multiple Expiry stacks on the same page.