{"id":7622,"date":"2009-12-23T22:14:49","date_gmt":"2009-12-23T22:14:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/keep-it-fresh\/"},"modified":"2009-12-23T22:16:00","modified_gmt":"2009-12-23T22:16:00","slug":"keep-it-fresh","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/keep-it-fresh\/","author":313988,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"2.9.2","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Keep it Fresh","header_author":"Jonathan Kern","header_description":"","assets_banners_color":"","last_updated":"2009-12-23 22:16:00","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.jonathankern.com\/code\/keepitfresh","header_plugin_uri":"http:\/\/www.jonathankern.com\/code\/keepitfresh","header_author_uri":"http:\/\/www.jonathankern.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1921,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1445,2236,4500,166],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-7622","plugin","type-plugin","status-publish","hentry","plugin_tags-archive","plugin_tags-filter","plugin_tags-old","plugin_tags-posts","plugin_committers-jonkern"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/keep-it-fresh.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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 <code>post_status<\/code>; rather, Keep it Fresh uses the <code>posts_where<\/code> WordPress filter to filter out posts older than the given date or amount of days whenever WordPress requests posts outside of the admin area.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>keep-it-fresh<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Setup Keep it Fresh as you please via the Keep it Fresh options page under Settings in the WordPress admin area<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>How does Keep it Fresh hide my old events?<\/h4>\n <p>Keep it Fresh adds a date filter on the posts query each time WordPress requests posts to display (except when in the admin area).<\/p>\n <h4>`get_posts` still returns old posts. What do I do?<\/h4>\n <p>The <code>get_posts<\/code> function will suppress the filters that Keep it Fresh uses to hide old posts by default. To avoid this behavior, pass an array to <code>get_posts<\/code> with the key <code>suppress_filters<\/code> set to false. For example: <code>get_posts(array('suppress_filters'=&gt;false))<\/code>.<\/p>\n <h4>I love Keep it Fresh, but I'd like it to do &lt;blank&gt;.<\/h4>\n <p>Great, I'm glad to hear feature requests.  Just post a comment on the <a href=\"http:\/\/www.jonathankern.com\/code\/keepitfresh\" title=\"Keep it Fresh Homepage\">plugin's homepage<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Keep it Fresh will stop WordPress from showing posts older than a set number of days or a specific date.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7622"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jonkern"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7622"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7622"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7622"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7622"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7622"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}