Title: Random Post Link
Author: scribu
Published: <strong>2009年11月4日</strong>
Last modified: 2012年9月13日

---

プラグインを検索

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

![](https://s.w.org/plugins/geopattern-icon/random-post-link.svg)

# Random Post Link

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

[ダウンロード](https://downloads.wordpress.org/plugin/random-post-link.zip)

 * [詳細](https://ja.wordpress.org/plugins/random-post-link/#description)
 * [レビュー](https://ja.wordpress.org/plugins/random-post-link/#reviews)
 * [開発](https://ja.wordpress.org/plugins/random-post-link/#developers)

 [サポート](https://wordpress.org/support/plugin/random-post-link/)

## 説明

Unlike the [Random Redirect](https://wordpress.org/extend/plugins/random-redirect/)
plugin, this plugin makes sure that a user will not see the same post twice.

It does this by storing a cookie containing a list of single posts that the user
has seen. It then checks that list before redirecting.

#### Usage

Just put this line anywhere in your theme where you want the link to appear.

    ```
    <?php random_post_link(); ?>
    ```

You can specify the text you want on the link like so:

    ```
    <?php random_post_link('Feeling lucky'); ?>
    ```

Links: [Plugin News](http://scribu.net/wordpress/random-post-link) | [Author’s Site](http://scribu.net)

## FAQ

  “Parse error: syntax error, unexpected T_CLASS…” Help!

Make sure your host is running PHP 5. Add this line to wp-config.php to check:

    ```
    var_dump(PHP_VERSION);
    ```

  What happens when there are no more posts?

If a user has seen all the available posts, the plugin will clear the list and redirect
to a random post.

## 評価

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

## 貢献者と開発者

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

貢献者

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

[“Random Post Link” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/random-post-link)

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

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

## 変更履歴

#### 1.0.1

 * handle case when a user has seen all posts

#### 1.0

 * initial release
 * [more info](http://scribu.net/wordpress/random-post-link/rpl-1-0.html)

## メタ

 *  バージョン **1.0.1**
 *  最終更新日 **14年前**
 *  有効インストール数 **50+**
 *  WordPress バージョン ** 2.8またはそれ以降 **
 *  検証済み最新バージョン: **3.0.5**
 *  言語
 * [English (US)](https://wordpress.org/plugins/random-post-link/)
 * タグ
 * [button](https://ja.wordpress.org/plugins/tags/button/)[redirect](https://ja.wordpress.org/plugins/tags/redirect/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/random-post-link/advanced/)

## 評価

 5つ星中2つ星

 *  [  0 5-星レビュー     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=3)
 *  [  1 2-星レビュー     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=1)

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

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

## 貢献者

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

## サポート

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

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