DX Out of Date
DX Out of Date allows you to display a notification box on your posts when a given amount of time has passed. Quite handy when writing tutorials or any content that might get outdated due to external factors – now you could automatically notify your readers after a given period. You can configure th
About this tool.
DX Out of Date allows you to display a notification box on your posts when a given amount of time has passed. Quite handy when writing tutorials or any content that might get outdated due to external factors – now you could automatically notify your readers after a given period.
You can configure the expiration time of your posts in the admin panel. Valid time units are days, months and years.
Currently the plugin options are:
- Period – “amount” of “duration” units (1 to 40)
- Duration frame (days, months, years)
- Message – the message format for the notification box
- Enable by default – a checkbox for enabling the message on all posts by default
- Enable post status in Dashboard – a checkbox for adding an extra column in the Dashboard for the outdated status of posts
- Post types to affect – allows you to choose which post types for display the message for
- Position of the message – choose whether the message should be displayed at the top or at the bottom of a post’s content
- Background color – Choose a background color for the message
- Text color – Choose a text color for the message
- Custom CSS – Add custom CSS rules to the message box
Getting started.
- 01Upload the dx-out-of-date folder in the /wp-content/plugins/ directory
- 02Activate the DX Out of Date plugin through the ‘Plugins’ menu in WordPress
- 03Go to Settings -> DX Out of Date
- 04Configure your time period and customization settings
- 05Save the form and you’re good to go!
Other ways to display the “Out of Date” box snippet:
- 06Use the [out_of_date] shortcode
- 07Call the DX_Out_Of_Date::outdated_box_generator() function right before rendering the post