Title: Random Post Link
Author: scribu
Published: <strong>4. November 2009</strong>
Last modified: 13. September 2012

---

Plugins suchen

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

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

# Random Post Link

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

[Herunterladen](https://downloads.wordpress.org/plugin/random-post-link.zip)

 * [Details](https://de.wordpress.org/plugins/random-post-link/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/random-post-link/#reviews)
 * [Entwicklung](https://de.wordpress.org/plugins/random-post-link/#developers)

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

## Beschreibung

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.

## Rezensionen

Zu diesem Plugin liegen noch keine Rezensionen vor.

## Mitwirkende und Entwickler

„Random Post Link“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin
mitgewirkt:

Mitwirkende

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

[Übersetze „Random Post Link“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/random-post-link)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/random-post-link/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/random-post-link/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/random-post-link/)
per [RSS](https://plugins.trac.wordpress.org/log/random-post-link/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 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)

## Meta

 *  Version **1.0.1**
 *  Zuletzt aktualisiert **vor 14 Jahren**
 *  Aktive Installationen **50+**
 *  WordPress-Version ** 2.8 oder höher **
 *  Getestet bis **3.0.5**
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/random-post-link/)
 * Schlagwörter
 * [button](https://de.wordpress.org/plugins/tags/button/)[redirect](https://de.wordpress.org/plugins/tags/redirect/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/random-post-link/advanced/)

## Bewertungen

 2 von 5 Sternen.

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

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

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/random-post-link/reviews/)

## Mitwirkende

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

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/random-post-link/)