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 could configure the expiration time of your posts in the admin panel. Valid time units are days, months and years.
Currently the plugin options are:
- Duration frame (days, months, years)
- Period - "amount" of "duration" units (1 to 40)
- Message - the message format for the notification box
- Enable on template - a checkbox for displaying the outdated posts in the template. Must be checked to enable the plugin functionality
- Skin manager - a list with skins for customizing the notification
- Upload the
dx-out-of-date
folder in the /wp-content/plugins/
directory
- Activate the
DX Out of Date
plugin through the 'Plugins' menu in WordPress
- Go to Settings -> DX Out of Date
- Configure your time settings and check the "Enable the message by default on all outdated posts " checkbox
- Save the form and you're good to go!
Other ways to display the "Out of Date" box snippet:
- Use the
[out_of_date]
shortcode
- Call the DX_Out_Of_Date::outdated_box_generator() function right before rendering the post