Keep it Fresh will stop WordPress from showing posts older than a set number of days or a specific date. It is configurable via the WordPress administration area. Keep it Fresh doesn’t remove old posts, nor does it muck with their
post_status; rather, Keep it Fresh uses the
posts_where WordPress filter to filter out posts older than the given date or amount of days whenever WordPress requests posts outside of the admin area.
- Upload the
keep-it-freshfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Setup Keep it Fresh as you please via the Keep it Fresh options page under Settings in the WordPress admin area
How does Keep it Fresh hide my old events?
Keep it Fresh adds a date filter on the posts query each time WordPress requests posts to display (except when in the admin area).
`get_posts` still returns old posts. What do I do?
get_posts function will suppress the filters that Keep it Fresh uses to hide old posts by default. To avoid this behavior, pass an array to
get_posts with the key
suppress_filters set to false. For example:
I love Keep it Fresh, but I’d like it to do <blank>.
Great, I’m glad to hear feature requests. Just post a comment on the plugin’s homepage.
There are no reviews for this plugin.
Contributors and Developers
“Keep it Fresh” is open source software. The following people have contributed to this plugin.Contributors
- Initial Release