Karl Elliott

Making WordPress posts expire

A new #wordpress #plugin this week on the VANEL website is “WP Post Expires“.
It was pointed out that a search for Jobs on the VANEL site found a lot of articles for very out of date job opportunities. Normally we have a policy of leaving any posts from our Member organisations there for the long term archives, but in some cases – dated events, job opportunities etc – it makes sense to have posts ‘disappear’ when a date has passed.
WordPress doesn’t do that by default, so I experimented with the WP Post Expires plugin which works just fine. Now when writing a post we can add an expiry date at which point the post goes back to being Draft and hence not visible. You could just as easily have it delete the post or something else.
Plugin worth a look if you’re managing dates in your posts.