Widgets are the easiest way to add custom items to your WordPress sidebars or widget-ready areas. You can customize widget display with Widget Logic, hide widget titles, and you can even display widgets in post or page content. WordPress Widgets are just as customizable, as WordPress itself. In this article, we will show you how to set an expire date for widgets in WordPress.
When You Need To Set an Expire Date for Widgets?
Sometimes you may want to run a promotional campaign on your website, a campaign that expires at a given time. By setting up an expiration date for the widget, you can hide it from the users when the campaign is over. There can be many other uses, like for example hiding ads when their time slot is over, or hiding seasonal widgets during holidays.
Video Tutorial