Title: Keep it Fresh
Author: jonkern
Published: <strong>2009 年 12 月 23 日</strong>
Last modified: 2009 年 12 月 23 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/keep-it-fresh.svg)

# Keep it Fresh

 由 [jonkern](https://profiles.wordpress.org/jonkern/) 開發

[下載](https://downloads.wordpress.org/plugin/keep-it-fresh.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/keep-it-fresh/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/keep-it-fresh/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/keep-it-fresh/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/keep-it-fresh/#developers)

 [技術支援](https://wordpress.org/support/plugin/keep-it-fresh/)

## 外掛說明

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.

## 安裝方式

 1. Upload the `keep-it-fresh` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. 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?

The `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: `get_posts(array('suppress_filters'
=>false))`.

#### 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](http://www.jonathankern.com/code/keepitfresh).

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Keep it Fresh〉的開發相關工作。

參與者

 *   [ jonkern ](https://profiles.wordpress.org/jonkern/)

[將〈Keep it Fresh〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/keep-it-fresh)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/keep-it-fresh/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/keep-it-fresh/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/keep-it-fresh/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/keep-it-fresh/)。

## 變更記錄

#### 1.0

 * Initial Release

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **17 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.9.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/keep-it-fresh/)
 * 標籤:
 * [archive](https://tw.wordpress.org/plugins/tags/archive/)[filter](https://tw.wordpress.org/plugins/tags/filter/)
   [old](https://tw.wordpress.org/plugins/tags/old/)[posts](https://tw.wordpress.org/plugins/tags/posts/)
 *  [進階檢視](https://tw.wordpress.org/plugins/keep-it-fresh/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/keep-it-fresh/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/keep-it-fresh/reviews/)

## 參與者

 *   [ jonkern ](https://profiles.wordpress.org/jonkern/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/keep-it-fresh/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.jonathankern.com/code/keepitfresh)