Title: Random Post Link
Author: scribu
Published: <strong>4. november, 2009</strong>
Last modified: 13. september, 2012

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

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

# Random Post Link

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

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

 * [Detaljer](https://nb.wordpress.org/plugins/random-post-link/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/random-post-link/#reviews)
 * [Utvikling](https://nb.wordpress.org/plugins/random-post-link/#developers)

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

## Beskrivelse

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)

## Ofte stilte spørsmål

  «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.

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«Random Post Link» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

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

[Oversett «Random Post Link» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/random-post-link)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/random-post-link/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/random-post-link/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/random-post-link/)
med [RSS](https://plugins.trac.wordpress.org/log/random-post-link/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

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

 *  Versjon **1.0.1**
 *  Sist oppdatert **14 år siden**
 *  Aktive installasjoner **50+**
 *  WordPress-versjon ** 2.8 eller nyere **
 *  Testet opp til **3.0.5**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/random-post-link/)
 * Stikkord
 * [button](https://nb.wordpress.org/plugins/tags/button/)[redirect](https://nb.wordpress.org/plugins/tags/redirect/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/random-post-link/advanced/)

## Vurderinger

 2 av 5 stjerner.

 *  [  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)

[Se alle omtalene](https://wordpress.org/support/plugin/random-post-link/reviews/)

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/random-post-link/)