WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Advanced Random Post Thumbnails Widget

Widget displays thumbnails from random posts. Thumbnails can be grabbed from all posts, from posts from selected categories or selected from categorie

Options

The Widget's options allow you to change the way images display within the widget.

Title:

Set the widget's title.

Number of posts to show:

How many posts to display. The maximum is 20. This can be raised by editing the php file but showing too many thumbs could slow your page loads down.

Thumbnail Custom Field Name

Do you use a custom post field to denote images? Use this option to set the custom field as the source of displayed images. This option stops both the first image of a post and the first attached post image from being used as thumbnails.

Thumbnail Dimensions

Set the width and height of the thumbnails. You do not need to specify both a height and a width but doing so prevents over-sized thumbnails.

Display Thumbnails in Rows and Columns?

Choose whether to show thumbnails in a single-file column or in multiple columns that might form multiple rows depending on how many thumbnails are displayed. Tick the box to display thumbnails in rows.

Thumbnail Margins

Set the pixel distance between each thumbnail and its neighbour.

Left and Right Side Buffer Space

The images are laid out in a 3-column, 1-row table. The middle column holds the images. The left and right columns have zero-size by default. The left-most column (Left Buffer Space) may be used to push the images rightward from the widget's left-hand-side. The right-most column (Right Buffer Space) may be used to push the images leftward from the widget's right-hand-side.

By default, all images are centrally aligned relative to the widget's left and right sides. Some themes are awkwardly designed and can make it difficult to make the images display left, right or centrally justified. These left and right buffers make it easy to horizontally position the images in all themes.

Get the first image of each post

Uses the first image found in a post as the post's thumbnail. This option is only active when a custom field is not specified. This option stops the first image of a post from being used as the thumbnail.

Get first attached image of post

Uses the first image attached to a post as the post's thumbnail. This option is only active when a custom field is not specified.

Link each thumbnail to its category?

By default, thumbs link to the posts they represent. Put a check in this box to make thumbnails link to the category their post belongs to.

Default image

Set a thumbnail to display when a post lacks images. Specify the full URL or a location relative to the WordPress root directory. For example, http://journalxtra.com/image.jpg or /wp-content/uploads/image.jpg, respectively.

Category

Displays a drop down box of all categories that have been used to tag posts. If there are no posts assigned to a category, the category will not show in the dropdown box.

Use the dropdown box to select to grab posts from either All Categories or from a single parent category or a single child/grandchild category.

This option overrules the comma separated category list and the "category of viewed posts" option.

Set to "All Categories" to re-enable the comma separated list and the "category of viewed posts" option.

Get posts from current category:

Each post is assigned one or more categories. When a visitor views a post you can select to display thumbnails that are assigned to the same category/categories as the post being viewed. When this option is selected, the home page still displays thumbnails from all categories.

This option overrides any comma separated category list settings specified in Categories.

Categories

Optionally specify a comma separated list of post category IDs that images should be selected from.

A future version of this plugin will display a list of category titles and their ID's or maybe it'll feature a multiple selection box. I'll keep you guessing.

Show Category Title

Check this option to display the category title that assigned to the posts the thumbs have been taken from.

The title shows above the thumb gallery in the widget i.e not above each thumbnail.

The title shows under the following circumstances:

  1. When a single category is selected with the dropdwn box.
  2. When Get posts with the same category as the viewed post? is selected.
  3. When a single category ID is listed in the Categories text box.

The title does not show when thumbs are selected from all categories or from multiple categories.

The Title does not show when thumbs are selected randomly yet all thumbs are randomly selected from the same category.

Link category title to category page?

Put a tick in this box when you want the optional title above the thumb gallery to link to the category it represents.

Select Category Title Style

Choose the typography of the title font. Use either h1, h2, h3, h4, h5, h6, p or strong.

The title can be further styled with CSS using the .dv-advanced-random-image-titleclass.

Contact

Support

Supported Languages

  • English

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 2011-12-19
Downloads: 24,353

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1 100,2,2
100,2,2
50,2,1
50,2,1
100,2,2
50,2,1
100,2,2
50,2,1
100,1,1
0,1,0
100,1,1
100,1,1