How to Auto Expire Posts or a Part of Content in WordPress

How to Auto Expire Posts or a Part of Content in WordPress

Outdated web content delivers information of no worth so as to be regarded as a superfluous presence. Thus, that should be expired regularly. Since manual expiration seems a waste of time and energy, doing so automatically by means of a plugin is much greater for you. The selected method in this guide is Content Scheduler, which is included in the top 10 WordPress scheduling plugins designed for web content planning.

Content Scheduler plugin enables auto expiration for any posts and sends notification to you when expiration happens. That allows you to set the post start time and the deadline beforehand. Since then, there is no need to be concerned over the posts in schedule. Set about installing this plugin on your website right now.

Auto Expire Posts with Content Scheduler Plugin

You are required to install and activate Content Scheduler via WP admin > Plugins > Add New. Upon configuring this plugin, you should check if there is a new item named as Content Scheduler included in Settings.

Install Content Scheduler Plugin

If so, go to Settings > Content Scheduler and access to Content Scheduler configuration page. There are three options for content scheduler expiration, content scheduler notification and content scheduler display. Each option is further divided into multiple settings for customizing post expiration.

Content Scheduler Expiration Options

Content Scheduler Expiration Options

There are three expiration statuses available for your outdated post, including Hold, Delete and Apply Changes. That enables you to move content to trash, apply some changes to it or do nothing in that case. Select a status according to personal needs. And then, determine the interval between expiration checks and that should be in minutes.

The “Default expiration” is where to set how long a post can stay on your website upon expiration, which can be a few hours, days or even weeks. If there is a need to mark the time-specific content, then “Change post title” is just about it. You are required to enter the text and add it before or after current title. If there is no need to do so, check “No Change” and move to the next setting.

For some webmasters wondering how to deal with the outdated sticky posts, then the “Change stickiness to” features plays an important role in that situation. The given options enable you to unstuck posts or maintain current status. Besides, several settings are available for you to apply category changes.

Content Scheduler Notification Options

Content Scheduler Notification OPtions

Content Scheduler plugin sends notification in terms of content expiration. It determines who to notify and that can be site administrator & content author. Before everything, check “Notification on” to enable this function. And then, determine whether to notify admin and author by modifying “Notify Site Administrator” and “Notify Content Author”.

Content Scheduler Display Options

Content Scheduler Display Options

This is where to control the display of content scheduler in admin area. In this case, you can determine whether to show expiration in columns, whether to use DatePicker for date and whether to remove all content scheduler data upon uninstall. Check certain options to display necessary content as needed. Here, we suggest you to check “Use datepicker” option, which enables an easy way to select a date.

Besides, you should set the minimum user role to see Content Scheduler fields and shortcodes. The default setting is Contributor and that means the permission is not valid for user roles inferior to Contributor. “Save Changes” to confirm all settings.


Content Scheduler is worthy of one of the easiest plugin for post auto expiration and that helps to solve problems without coding stuff. However, if you wish to get more alternatives for this plugin, we recommend you to go with Simple Post Expiration and Post Expirator. Both allow you to expire certain web content with a few clicks.