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

How can I set it to take posts from the same category as the post being viewed by a site visitor?

Select the checkbox in the widget's settings called 'Get posts from current category?'.

How can I get the widget to select posts from specific multiple categories?

Write a comma separated list of category IDs in the Categories textbox.

What's the order of precedence when setting to select thumbs from `category`, `category of viewed posts`, `Comma separated list of categories`?

The order of precedence is:

Category (if selected from the drop down box), Category of viewed posts (if ticked with the checkbox), Categories (as set with a comma separated list of categories).

For example:

If you have options set for all three values then thumbs will be grabbed from the category set by the Category dropdown box.

If you have options set for Get posts with the same category as the viewed post? and a comma separated list of Categories, then thumbs will be selected from the category if the post being viewed by the visitor.

Can I style the layout of the images using CSS?

Certainly. There are plenty of elements to style!

Working outwards from the image...

The img element uses the class img.dv-advanced-random-posts-thumb.

The image wrapper div uses the class div.dv-advanced-random-image-image.

The container wrapper for all the images uses the class div.dv-advanced-random-image-block.

There is a 3 column, single row table between the image wrapper and the container wrapper. The table make sit easier to position the images relative to the container wrapper's left and right sides.

The left column is an empty buffer space with the class tr.dv-buffer-left.

The middle column holds the images and has the class tr.dv-image-holder.

The right column is an empty buffer space with the class tr.dv-buffer-right.

The table has the class table.dv-advanced-random-image-table.

The Category title placed below the widget title and above the block of thumbnails has the class .dv-advanced-random-image-title.

Can I translate the plugin to other languages?

Sure, go ahead. The plugin has a language folder. Put your translation into it. Don't ask me how to create the .po file because I don't know. Let me know when you've translated the plugin language and I'll add your work to the plugin repository.

Can I make a feature request?

Yes you can. I don't monitor the WordPress forums often enough to catch requests posted there. Please visit me at the plugin's homepage to make your request. I will do what I can.

When I select to link to the category a thumb's post belongs to, why do some of my posts link to a different category?

The thumb will always link to the category the post belongs to. If the category you've set the widget to display contains child categories then a post that displays from that child category will link to that child category rather than the parent category. I might add an option to change this behaviour at a later date.

Can I donate to you?

Definitely! :D

WordPress and web development is my livelihood. I do accept donations but I prefer good ol' backlinks and word-of-mouth recommendations to potential clients. Visit me at WP ServiceMasters to learn more about what I do.

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

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say 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