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

Random Post Link

説明

Unlike the 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 | Author’s Site

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 はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Random Post Link” をあなたの言語に翻訳しましょう。

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

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.1

  • handle case when a user has seen all posts

1.0