Title: Cache Time
Author: wesg
Published: <strong>2008年5月16日</strong>
Last modified: 2008年7月28日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/cache-time.svg)

# Cache Time

 作者: [wesg](https://profiles.wordpress.org/wesg/)

[ダウンロード](https://downloads.wordpress.org/plugin/cache-time.1.02.zip)

 * [詳細](https://ja.wordpress.org/plugins/cache-time/#description)
 * [レビュー](https://ja.wordpress.org/plugins/cache-time/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/cache-time/#installation)
 * [開発](https://ja.wordpress.org/plugins/cache-time/#developers)

 [サポート](https://wordpress.org/support/plugin/cache-time/)

## 説明

Cache Time displays the time that the current page was cached, and prints it via
the cache_time(); function. It takes into account the different time zones of the
WordPress blog, and whether or not WP-Cache has blocked the current URL for caching.

It has been tested with WP 2.6 and WP-Cache only, so please contact me with any 
questions or concerns with other systems. WP-Super-Cache should work, but it is 
not officially tested.

Be sure to check out my other plugins at [my WordPress profile](https://wordpress.org/extend/plugins/profile/wesg).

#### USAGE

 1. Anywhere inside the WordPress template pages, copy `<?php cache_time(); ?>` to 
    print the plugin’s output.

#### CUSTOMIZATION

There are 3 elements that can be customized with Cache Time:

 1. _Text displayed when page is cached_ — Open cache-time.php inside the Cache-time
    folder with your favorite text editor and find line 27 that says `$cached = 'Page
    cached on: ';`. Change the text between the quotes for your own message.
 2. _Text displayed if no cache is present_ — Similar to above, find line 29 that says`
    $not_cached = 'Time is now: ';` and change the text between the quotes.
 3. _Date Format_ — Again inside the cache-time.php file, line 36 can be changed to
    display your choice of information. More details about customizing the date can
    be found at [w3schools](http://www.w3schools.com/php/func_date_gmdate.asp).

#### LIMITATIONS

 1. Currently Cache Time only works with WP-Cache, though theoretically it should work
    with WP-Super-Cache as well.

## インストール

 1. Copy the folder cache-time into your WordPress plugins directory (wp-content/plugins).
 2. Log in to WordPress Admin. Go to the Plugins page and click Activate.
 3. Wherever you wish to display the information, use `<?php cache_time(); ?>` inside
    your Template pages.

## FAQ

#### What is the point of this plugin?

Cache Time is meant to display the time that your website last cached the current
page, for both you and your users benefit. There are many instances where users 
want the most current information, and this is an easy way to show how current that
info is.

#### Is WP-Cache the only caching plugin that works with Cache Time?

Officially, yes. WP-Super-Cache may work, though I have not tested it.

#### OK, but what if I don’t have WP-cache installed?

If no caching system is installed, the plugin simply displays the current time.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Cache Time はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献してい
ます。

貢献者

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

[“Cache Time” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/cache-time)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/cache-time/)するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/cache-time/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/cache-time/)
を [RSS](https://plugins.trac.wordpress.org/log/cache-time/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## メタ

 *  バージョン **1.02**
 *  最終更新日 **18年前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 2.0またはそれ以降 **
 *  検証済み最新バージョン: **2.6**
 *  言語
 * [English (US)](https://wordpress.org/plugins/cache-time/)
 * タグ
 * [cache](https://ja.wordpress.org/plugins/tags/cache/)[clock](https://ja.wordpress.org/plugins/tags/clock/)
   [time](https://ja.wordpress.org/plugins/tags/time/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/cache-time/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/cache-time/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/cache-time/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/cache-time/)