Title: Random Post Link
Author: scribu
Published: <strong>4 Novembre 2009</strong>
Last modified: 13 Settembre 2012

---

Ricerca i plugin

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

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

# Random Post Link

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

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

 * [Dettagli](https://it.wordpress.org/plugins/random-post-link/#description)
 * [Recensioni](https://it.wordpress.org/plugins/random-post-link/#reviews)
 * [Sviluppo](https://it.wordpress.org/plugins/random-post-link/#developers)

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

## Descrizione

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.

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“Random Post Link” è un software open source. Le persone che hanno contribuito allo
sviluppo di questo plugin sono indicate di seguito.

Collaboratori

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

[Traduci “Random Post Link” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/random-post-link)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/random-post-link/)
segui il [repository SVN](https://plugins.svn.wordpress.org/random-post-link/), 
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/random-post-link/)
tramite [RSS](https://plugins.trac.wordpress.org/log/random-post-link/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

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

 *  Versione **1.0.1**
 *  Ultimo aggiornamento **14 anni fa**
 *  Installazioni attive **60+**
 *  Versione WordPress ** 2.8 o superiore **
 *  Testato fino alla versione **3.0.5**
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/random-post-link/)
 * Tag
 * [button](https://it.wordpress.org/plugins/tags/button/)[redirect](https://it.wordpress.org/plugins/tags/redirect/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/random-post-link/advanced/)

## Valutazioni

 2 su 5 stelle.

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

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

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/random-post-link/reviews/)

## Collaboratori

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

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/random-post-link/)