Title: Random Post Link
Author: scribu
Published: <strong>04.11.2009</strong>
Last modified: 13.09.2012

---

Шукати плагіни

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями 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://uk.wordpress.org/plugins/random-post-link/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/random-post-link/#reviews)
 * [Розробка](https://uk.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)

## Часті питання

  “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 або вище **
 *  Tested up to **3.0.5**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/random-post-link/)
 * Позначки
 * [button](https://uk.wordpress.org/plugins/tags/button/)[redirect](https://uk.wordpress.org/plugins/tags/redirect/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/random-post-link/advanced/)

## Оцінки

 2 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/random-post-link/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/random-post-link/reviews/)

## Учасники

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

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/random-post-link/)