Title: WP Random Post Thumbnails
Author: Brianna Deleasa
Published: <strong>28. desember, 2014</strong>
Last modified: 27. juli, 2025

---

Søk i utvidelser

![](https://ps.w.org/wp-random-post-thumbnails/assets/banner-772x250.jpg?rev=1541240)

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://ps.w.org/wp-random-post-thumbnails/assets/icon-256x256.png?rev=1541376)

# WP Random Post Thumbnails

 Av [Brianna Deleasa](https://profiles.wordpress.org/bdeleasa/)

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

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

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

## Beskrivelse

This plugin allows you to upload a set of images via a settings page to be shown
for posts without images. The images will be chosen at random on page load for any
posts without a featured image (meaning each time the page is reloaded another random
image will be chosen). Useful if your theme shows thumbnails for the posts, and 
you don’t want any posts without thumbnails.

**UPDATE:** Now you can select images specifically for certain post types as well
as taxonomy terms.

## Installasjon

 1. Upload the `wp-random-thumbnails` folder to the `/wp-content/plugins/` directory.
 2. Aktiver pluginnen gjennom ‘Plugins’-menyen i WordPress
 3. Configure the plugin by going to Settings > Random Thumbnails.
 4. That’s it! 🙂

## Ofte stilte spørsmål

None yet!

## Vurderinger

![](https://secure.gravatar.com/avatar/c616fae6231e3f921846daeeae2a221063f1db7e3e6de2cd6399c12d8dcabbb3?
s=60&d=retro&r=g)

### 󠀁[Awesome random feature image](https://wordpress.org/support/topic/awesome-random-feature-image/)󠁿

 [ugotta](https://profiles.wordpress.org/ugotta/) 27. april, 2021

Random Post feature image

![](https://secure.gravatar.com/avatar/2a2d2f4cfbc632b151700a9de6e3741341574dbed5e19db4ba566146653ee96e?
s=60&d=retro&r=g)

### 󠀁[Good Plugins](https://wordpress.org/support/topic/good-plugins-59/)󠁿

 [andyhsia](https://profiles.wordpress.org/andyhsia/) 19. juni, 2020

it real help me

![](https://secure.gravatar.com/avatar/b42bbf9c3f261880087d26ddaacc9d996c0ef96a78b817341b5b393401a11c84?
s=60&d=retro&r=g)

### 󠀁[Very nice and easy!](https://wordpress.org/support/topic/very-nice-and-easy-10/)󠁿

 [ranjbaran](https://profiles.wordpress.org/ranjbaran/) 30. mai, 2019

Thank you very very much for this! I have been searching for a plugin to show random
featured images for several hours and finally found this one!

![](https://secure.gravatar.com/avatar/82d829ddf73cae5aea712ef622a0341cdca9359142bb625a9c441647fff5e60a?
s=60&d=retro&r=g)

### 󠀁[A Great Plugin](https://wordpress.org/support/topic/a-great-plugin-177/)󠁿

 [](https://profiles.wordpress.org/bluewildangel/) 8. januar, 2019 1 svar

Thanks, this is a great plugin and does what it says. Simple and effective!

![](https://secure.gravatar.com/avatar/b248f5c417a8103df0c3e24c7d5b74d9fba20fa4e5659745921a399fcc3caba0?
s=60&d=retro&r=g)

### 󠀁[Very good!](https://wordpress.org/support/topic/very-good-2694/)󠁿

 [rfalcaoj](https://profiles.wordpress.org/rfalcaoj/) 20. november, 2017 1 svar

This is exactly what I needed, I researched other plugins but they were too confusing.
This is simple and objective. Very good!

![](https://secure.gravatar.com/avatar/9a804eb57f002f2571d5d70304360bf370cb0cfbd60c89851f864599a3396a77?
s=60&d=retro&r=g)

### 󠀁[PERFECT](https://wordpress.org/support/topic/perfect-2678/)󠁿

 [Nigal88](https://profiles.wordpress.org/nigal88/) 3. september, 2016 1 svar

This is exactly what I needed, and from what I’ve seen there are no other plugins
like this which are updated and still functioning. Thank you very much for this 
and I hope you will continue updates if the functionality ever runs into any problems.

 [ Les alle 8 vurderinger ](https://wordpress.org/support/plugin/wp-random-post-thumbnails/reviews/)

## Bidragsytere og utviklere

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

Bidragsytere

 *   [ Brianna Deleasa ](https://profiles.wordpress.org/bdeleasa/)

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

### Interessert i utvikling?

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

## Endringslogg

#### 2.6.3

 * Patching a fatal error with `classes/class-wprpt.php` on sites running PHP7.

#### 2.6.2

 * Patching minor type error with $sizes in `add_image_attributes` in `classes/class-
   wprpt.php`.

#### 2.6.1

 * Minor adjustment to `classes/class-wprpt.php` to fix a potential PHP error in
   PHP7.

#### 2.6.0

 * Checked compatability with WordPress 6.7.
 * Removing a custom filter which was designed to add in a `post_thumbnail_id` filter.
   WordPress core now has the `post_thumbnail_id` filter, so our custom filter is
   no longer needed.
 * Added support for a class added to the images (when they are a random image).
   Use the `wprpt_random_post_image_class` filter to change the class name if needed.

#### 2.5.0

 * Updating CMB2 to the latest version to fix some PHP7 issues.

#### 2.4.0

 * Adding a new setting allowing users to exclude terms from having their posts 
   utilize random thumbnails

#### 2.3.0

 * Changing the doing_ajax constant to the new WordPress function.
 * Fixing a php foreach loop warning in template-tags.php

#### 2.2.2

 * Making sure to add the front end filters when performing Ajax requests.

#### 2.2.1

 * Fixing a minor PHP notice.

#### 2.2.0

 * Updating CMB2 to the latest version.
 * Fixing an issue in the newer CMB2 versions where the metabox tabs were being 
   added as top level menu pages.
 * Outputting CSS on our custom admin page to override some CMB2 styles in the metabox
   tabs.
 * Updating the plugin description in an effort to make it clearer as to what exactly
   the plugin does.
 * Verifying that the plugin works in WordPress 4.8.2.

#### 2.1.6

 * Verifying that the plugin works in WordPress 4.8.1.

#### 2.1.5

 * Fixing an issue with the version number not being updated.

#### 2.1.4

 * Fixing a PHP error on activation in PHP 7.

#### 2.1.3

 * Fixing a minor PHP warning with WP_DEBUG on.

#### 2.1.2

 * Testing to make sure the plugin works in WordPress 4.7.

#### 2.1.1

 * Fixing a minor PHP notice with WP_DEBUG on.

#### 2.1.0

 * Fixing an issue with terms in other languages not saving properly in the options
   page.

#### 2.0.8

 * Fixing another minor PHP warning.

#### 2.0.7

 * Fixing minor PHP warning when no images are selected.

#### 2.0.6

 * Checking whether the term is set before comparing it’s value (fixes a PHP notice).

#### 2.0.5

 * Fixing a minor PHP warning.

#### 2.0.4

 * Fixing a minor PHP warning.

#### 2.0.3

 * Adding a ‘Settings’ link into the plugin action links.

#### 2.0.2

 * Fixing issue with $this not being allowed in anonymous functions on older PHP
   versions.

#### 2.0.1

 * Removing the old cmb folder that somehow didn’t get removed during the 2.0.0 
   update.

#### 2.0.0

 * Adding support for specifying images for any taxonomy terms.
 * Adding support for specifying images specific to post types.
 * Code cleanup.
 * Updating the options page to make it more organized by using tabs and metaboxes.

#### 1.3.3.1

 * Updating some comments and code spacing. No functionality changes.

#### 1.3.3

 * Updating the tested up to version.
 * Adding a donate link in case anyone would like to be so kind as to donate. 🙂

#### 1.3.1

 * Updating some comments and spacing. No actual functionality changes.

#### 1.3.0

 * Fixing PHP warnings that occurred when installing the plugin and not configuring
   any settings.
 * Moving the CMB script inclusion to the main plugin file.

#### 1.2.1

 * Fixing an issue when a user doesn’t upload any images through the settings page.

#### 1.2.0

 * Fixing a fatal error on the options page.
 * Removing an unncecessary tag directory.

#### 1.0.0

Initial release.

## Meta

 *  Versjon **2.6.3**
 *  Sist oppdatert **1 år siden**
 *  Aktive installasjoner **1 000+**
 *  WordPress-versjon ** 3.5 eller nyere **
 *  Testet opp til **6.7.7**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/wp-random-post-thumbnails/)
 * Stikkord
 * [post thumbnails](https://nb.wordpress.org/plugins/tags/post-thumbnails/)[random images](https://nb.wordpress.org/plugins/tags/random-images/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/wp-random-post-thumbnails/advanced/)

## Vurderinger

 5 av 5 stjerner.

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

[Din omtale](https://wordpress.org/support/plugin/wp-random-post-thumbnails/reviews/#new-post)

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

## Bidragsytere

 *   [ Brianna Deleasa ](https://profiles.wordpress.org/bdeleasa/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

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

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9AJYKL3BHB6RS&lc=US&item_name=WP%20Random%20Post%20Thumbnails%20Wordpress%20Plugin&item_number=WPRPT&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest)