Random Posts


Unfortunately, due to ill-health, this plugin has not been developed or supported properly for some years. It works with the latest versions of WordPress (including on this website) but could possibly conflict with any WordPress features added after 2008 — e.g. custom post types — if you use them.


This plugin displays a list of posts chosen randomly from your blog.

This is version download latest version. It is compatible with WordPress 1.5–2.6.2

Please note the new upgrade instructions!

Random Posts lets you put on display some of the posts that might otherwise get lost deep in your archives and, hopefully, get visitors to explore your site more thoroughly.

The plugin has an settings page which lets you change how the output is generated and displayed.

Installation Instructions

  1. If upgrading from a previous version, first deactivate the plugin via the Plugins page and delete the plugin folder from your server.
  2. Upload the plugin folder to your /wp-content/plugins/ directory. You will also need to install the Post-Plugin Library.
  3. Go to your admin Plugins page and activate Random Posts.
  4. Put<!--?php random_posts(); ?--> at the place in your theme files where you want the list of similar posts to appear. Lorelle on WordPress has a good guide to modifying themes for plugins. If you are using a widget-ready theme the plugin can be placed from the widget admin page.
  5. Use the admin Settings|Random Posts pages to set all the available options. Alternatively, the options can be overridden by passing a parameter to the random_posts template tag.

Usage and Options

The configuration page will help you to set up the plugin to your satisfaction.


  • 1. Rob  |  March 17th, 2008 at 6:19 pm

    Version 2.5 b3 posted

  • 2. dissi  |  April 3rd, 2008 at 11:15 pm


    this plugin nearly matches what i was looking for.
    but to be honest i would prefer to write an include-list instead of a list of posts to exclude. because i just want to display some of the best articles so far randomly. since i have nearly 500 posts it would be a lot of work to exclude a majority instead of including a small collection. :(

  • 3. Rob  |  April 3rd, 2008 at 11:20 pm

    dissi: that would be easy to add — I just never thought anybody would have a use for it.

  • 4. Partz Partzescu  |  April 3rd, 2008 at 11:39 pm

    Hello Rob,

    Can you please update somehow the plugin so i can modify the title of it, it appears Recent Comments but my blog isn’t in English so i have to say it in my language. Thanks!

  • 5. Partz Partzescu  |  April 3rd, 2008 at 11:40 pm

    I forgot, can you also add the number of posts that should show like in your other plugins?

  • 6. Rob  |  April 3rd, 2008 at 11:56 pm

    Partz Partzescu: Both those options are already there. Maybe I am not understanding what you mean?

  • 7. dissi  |  April 4th, 2008 at 12:06 am

    @ rob: that sounds very promising :)
    maybe you like to consider to add this option in one of the next updates, perhaps it is possible to put it in some kind of “reverse mode”, giving the list the opposite function (using it for including instead of excluding). that would be brilliant.

  • 8. Partz Partzescu  |  April 4th, 2008 at 10:54 am

    Ok i think there is a BUG, when i try to remove the widget from the sidebar, i can’t because the menu is not there. The edit button is missing. I use wp2.5. All other plugins from you work correctly

  • 9. Rob  |  April 4th, 2008 at 12:15 pm

    Partz Partzescu: I can’t reproduce that behaviour myself. Can you make a bug report from the settings screen of Random Posts because it will tell me stuff about version numbers, etc.

    I would also advise uninstalling the plugin completely and installing the latest version.

  • 10. Partz Partzescu  |  April 4th, 2008 at 12:33 pm

    Ok, no problem i’ll do it right now

  • 11. Rosina Lippi  |  April 17th, 2008 at 4:53 pm


    I had been using this plugin without any hiccups until just recently. To be honest, I don’t know when it simply disappeared from the sidebar — but I noticed today that it was gone.

    So I checked the configuration page and I also took the widget off the sidebar and put it back on. No luck.

    Then I put the php code in a php enabled widget, but still no luck. The random posts pluging just won’t come out and play. And it’s such a great plugin too, I think it’s done a lot for my ‘how-long a person sticks around’ stats.

    Any suggestions much appreciated.

  • 12. Rob  |  April 17th, 2008 at 5:11 pm

    Rosina Lippi: Can you tell me what version of WP and of RP you are using? And can you tell me if anything else has changed recently — updates, new plugins, etc. Thanks.

  • 13. Rosina Lippi  |  April 17th, 2008 at 5:32 pm

    Sorry Rob, I should have thought to include that information.

    I’m on the most recent, up-to-date versions of WP and Random Posts (2.5; 2.5b19). I do have a lot of plugins installed. Are there any in particular that don’t get along with Random Posts?

  • 14. Rob  |  April 17th, 2008 at 5:35 pm

    Rosina: I’ve had the odd report of the recent posts plugin not doing well with wp-cache. I was just wondering whether anything notable had changed which might help me get to the root of the problem.

    Could you make a bug report through the settings screen as it provides some extra information that might help.

  • 15. Rosina Lippi  |  April 17th, 2008 at 5:41 pm

    Done. Thanks for your help.

  • 16. Ace  |  April 23rd, 2008 at 1:28 am

    Love the idea of having a random post widget. I went through all the steps, installed and activated the necessary plugins. Added the widget to my sidebar, and it messed up the whole page (which I half expected because the site is currently using a pretty complex theme). But the real problem is that now I can’t get rid of the widget.

    As I look at my design-widgets screen, I added the Random Posts widget. It moved over to the right of my screen and says that I am now using 1 widget. After I discovered it wasn’t working, I wanted to remove the widget, but leave the plugin for now. But I can’t for the life of me figure out how to remove the widget. Is there supposed to be a way?

    As of right now, the only thing I can do is deactivate the plugin. That removes the widget from the right side of my design-widgets screen, but it still says that I am now using 1 widget.

    Is it normal that once you add this widget you can never get rid of it short of getting rid of the plugins? Thanks for any help you can offer.

  • 17. Ace  |  April 23rd, 2008 at 1:39 am

    I now realize I brought this on myself by not closely following the above instructions.

    But that said, I really don’t know what do it. I completely deleted the plugins, and it still says that I’m using 1 widget (but there’s nothing there).

  • 18. Ace  |  April 23rd, 2008 at 1:52 am

    Sorry for the triple post.


    1.) I’m an idiot.

    2.) This plugin is awesome. Thanks so much.

  • 19. Rob  |  April 23rd, 2008 at 10:53 am

    Ace: Is everything working properly now? If the widget is not showing the ‘edit’ link to let you remove it something has gone wrong.

    As for WordPress telling you there is a widget inuse when there isn’t … that seems to be a WordPress bug.

  • 20. kca  |  May 1st, 2008 at 10:00 am


    Thanks for your work, i really appreciate.
    Just a silly question: What is the string name to unable WPcache to cache the radom post (i use the thumbs)?

    Best regards

  • 21. Rob  |  May 2nd, 2008 at 10:52 am

    kca: I’m sorry I don’t understand. The WP-Cache plugin will cache the output automatically. Is that what you mean?

    My own Plugin Output Cache won’t automatically cache the Random Post output because I wanted to keep it dynamic.

  • 22. KCA  |  May 2nd, 2008 at 11:48 am

    Thanks for the quick answer.

    Sorry lost in translation.
    In fact my question is: How to keep the random post dynamic with WPcache?

  • 23. Rob  |  May 2nd, 2008 at 2:36 pm

    KCA: Ah! I tried that myself a while ago and basically found I had to include so much of WordPress that it wasn’t worth it. I seem to remember I had to include some path information in the string but I can’t be sure.

  • 24. kca  |  May 2nd, 2008 at 4:42 pm

    Thanks Rob,
    guess what? I will just keep it simple. I am already satisfy with the plugin, and it will not be too hard for me, to just clean up the cache 1 time/ day at least ^o^

    Best Regards

  • 25. Rob  |  May 2nd, 2008 at 5:58 pm

    kca: Maybe there’s something you can do with the wp pseudo-cron functionality?

  • 26. Copernicus  |  May 14th, 2008 at 6:18 pm

    Hi Rob: thanks for the great plugins!

    I’m using RecentPosts on a site & have employed the tag {categorynames} to display the category (or categories) in which a listed post resides. However, when a post resides in multiple categories it lists the category names back-to-back with no spaces. For example, a post within the categories of “News” and “Reviews” shows up as “NewsReviews”

    Am I doing something wrong? Or is there something I can edit to make it display properly?


  • 27. Rob  |  May 14th, 2008 at 9:36 pm

    Copernicus: You can specify a separator string in the extra part after the colon, e.g.: {categorynames: | }

  • 28. john  |  May 20th, 2008 at 12:12 pm

    Very useful – especially to improve site indexing.

  • 29. rick davies  |  May 21st, 2008 at 9:50 am

    My sidebar is already crowded

    Is there anyway I can just put a text link “Random Post” on the side bar (preferably in the next row under my Search button), and when people click on these words the random listing appears on a new page/post to the left?

  • 30. Rob  |  May 23rd, 2008 at 10:15 am

    rick davies: There a number of ways of doing that. Perhaps the easiest is to make a new page dedicated to the random listing and use the embedded tag <!--RandomPosts--> somewhere in its content. You would need to switch on the content filter to have it appear. Then just put a link to the page as normal in your sidebar.

  • 31. Rob  |  June 4th, 2008 at 10:41 am

    If you had the misfortune to download version you may run into problems when you try to update to a newer version. I managed to introduce a circular dependence between this plugin and the Post-Plugin Library which means trying to update either from the admin plugins page will cause an error. Instead you need to delete the version from the server (Post-Plugin LIbrary too) and upload the newer one and the problem should be solved. I apologise for any worry or inconvenience.

  • 32. DavinaH  |  June 28th, 2008 at 2:36 am

    Hi Rob.

    I’m looking forward to trying out this new plug-in. I currently only have 2 posts on my new blog, so it could be some time… but I think it’s a great idea.

  • 33. Jude  |  July 10th, 2008 at 4:38 am

    Is there any way to get the image src title?

    Also, can I put {imagesrc} in a replace function?

    Thanks for this plugin. It’s great stuff.


  • 34. Rob  |  July 10th, 2008 at 10:42 am

    Jude: Nice site!

    I’m sorry to say those abilities are missing right now. If you can tell me more exactly what you are looking for I might find that they would be easy to implement.

  • 35. Jude  |  July 10th, 2008 at 4:22 pm


    Basically I want to get {imagesrc} string and replace “.jpg” with “-150×150.jpg” so it ends up displaying the thumbnail that wordpress generates when I upload pictures.

    imagesrc title was also an option because it’s the same as the image filename (without the file extension).

  • 36. Rob  |  July 12th, 2008 at 5:11 pm

    Jude: I think the best solution from my point of view would be to allow output tags within the {php} output tag. I’ve already done that for the {if} tag so it shouldn’t take much effort.

    An alternative might just be to make an output tag {thumbsrc}. Does WordPress always use that naming convention–i.e., is it always 150×150 or can the size vary?

  • 37. Rob  |  July 12th, 2008 at 10:30 pm

    Jude: Version has beefed up the {php} tag to allow tags to be used in code, e.g:

    {php:echo str_replace('.jpg','xxx.jpg','{imagesrc:0}');}

    Note the quotation marks around the {imagesrc} tag.

    By the way — I’d still consider making a tag to do the job directly if you can help me with some information.

  • 38. Jude  |  July 13th, 2008 at 2:24 am

    Rob, works perfectly. As a quick workaround, I added the replace function in the output tags php but the new updates are definitely a much slicker solution.

    The thumbnail size is user-defined in settings > miscellaneous. 150 x 150 seems to be the default size


  • 39. moserw  |  July 13th, 2008 at 12:59 pm

    Have this on my blog and it works great. Have been using it for a while. Dropped by to say thanks and much appreciated.

  • 40. Rob  |  July 13th, 2008 at 9:28 pm

    moserw: Thanks! Glad it does the trick for you.

  • 41. Marcelo Vilela  |  August 19th, 2008 at 12:32 am

    Hello, Rob. Firstly, congratulations for your plugin. It look likes very useful. So, we have a page about Brazilian television and we use a code to random posts. But, this don’t work very well, because display old posts. With your plugin, we’ll can set to WordPress display only the news most recentlys? Thank you.

  • 42. Rob  |  August 19th, 2008 at 10:04 am

    Marcelo Vilela: Yes, you can show random posts which are more recent than a certain number of days or months.

  • 43. Freeware Software Downloads  |  September 8th, 2008 at 3:22 pm

    Just wanted to say thank you for this great plugin.

  • 44. Kjetil Flekkoy  |  September 14th, 2008 at 11:09 am

    Ciao! – and thanks a lot for some very useful plugins.
    I wonder if this is possible – probably with the Random and Recent posts plugins:
    First: On my front page I\’d like a (small) sidebar with a list of random posts – but the first one should also include a thumbnail – of the first image in that post. (If not possible a thumbnail from each of the shown posts could work.)
    Second I\’d like a 4-column row of the most recent posts, each of them with a thumbnail above.
    The latter already is in place on our site but is made manually in html – the first is a much-wished addition to make people discover \”hidden\” parts of the site.
    Any way I could do this? I would be most grateful.
    PS I\’ve tried the 150×150 procedure mentioned above (after uploading a 500px image to a post) but no 150px thumbnail is generated (I\’ve checked the Miscellaneous settings – and the uploads folder). So, no thumb to be inserted. (This is tested locally, but I can\’t see that this happens online neither.) Probably missed something.

  • 45. Kjetil Flekkoy  |  September 14th, 2008 at 11:36 am

    Just to add in:
    I found the instructions for
    which might be useful, but I just can’t figure out how to mix it with eg the function

    An example, mayby, with ‘s ,s and spaces?

  • 46. Rob  |  September 14th, 2008 at 4:02 pm

    Kjetil Flekkoy: I’m afraid we lost some code there in your second comment so I’ll have to pass over it.

    The random posts list for the front page should be easy as long as you are willing to accept an image with each item. A good practice is to play around at first with a simplified version — try using an output template of <li>{link}</li> to get the general idea and then, when that is working, introduce the {image} output template tag. I’m guessing you want something like:


    This should pull the first image in your posts and scale it to be 50px wide (choose your size). I don’t think you need the other parameters.

    The other list you want is probably the same: the difference will be the size of the thumbnail and the css which you apply to it.

  • 47. Kjetil  |  September 14th, 2008 at 8:47 pm

    Thanks a lot – this was of great help.
    First of all I had not understood that eg the image code should be inserted in the settings panel (instead of some php/template file). Then you cleared up how to mix the image code. Looks promising. Great!
    Now, could I somehow make also the thumb image before the link clickable; that is, put a link also on the thumb?
    (Think I\’ll have to come back to the bottom recent post/image row – as is here now)
    The code that fell out was just the little snippet one has to insert in a template to call eg the random post list into a page. Trying again: \’\’

  • 48. Rob  |  September 14th, 2008 at 9:09 pm

    Kjetil : If you want the image to be clickable just change the output tag to:


    Good luck!

  • 49. Kjetil  |  September 14th, 2008 at 9:43 pm

    Great – thanks for responding so quickly.
    The linking works, but now – strangely enough – all the thumbs are created from just one out of two images – images mostly (of course) belonging to other posts.
    Could there be something wrong regarding the code in the posts that the images are pulled from? I ask because as I understand it, entering eg {image:0:65:65::link} only will work if the mother images are wrapped in links. As you say in your very thorough post-options page: “If the link parameter is given as β€˜link’ then only images wrapped in links will be extracted and displayed.”
    (My initial thought was a plugin conflict: Its a weired behaviour and I have lots of plugins (ca 40) running on this complex site.)
    Thanks again,

  • 50. Phil  |  September 15th, 2008 at 3:34 am

    I was using the older version of \”Recent Posts\” and just updated to the latest version. Now I just see the code instead of the posts. It\’s been so long since I configured it I can\’t get it right.


  • 51. Rob  |  September 15th, 2008 at 8:01 am

    Phil: Just took a look at your web site… those naked codes don’t look like they belong to this plugin… have you by any chance upgraded to the wrong plugin?

  • 52. Rob  |  September 15th, 2008 at 8:09 am

    Kjetil : Sorry — I should read my own documentation! Instead you should wrap the image in a link of your own creation, e.g.,

    <li><a href="{url}">{image:0:50:?}</a>{link}</li>

    That should give the image a link to the post. You probably want to add other attributes to the a tag.

  • 53. Kjetil  |  September 15th, 2008 at 7:29 pm

    <li><a href=\"{url}\">{image:0:65:65}</a>&nbsp;{link}</li> works like a charm. Just adjusted the width/height and added a space between the now linked image and link.
    The only thing I\’ll have to do is go through the posts for top images that are aligned right. Also those generated thumbs are aligned right. Just a minor adjustment…
    Wheres the donation button?!

  • 54. Rob  |  September 15th, 2008 at 9:18 pm

    Kjetil: I guess my subtle donation link on the settings page footer is just too subtle πŸ˜‰

  • 55. blog  |  September 16th, 2008 at 3:17 am

    I want to add rel=”nofollow” but how ?


  • 56. Rob  |  September 16th, 2008 at 9:59 am

    You just have to build the link from pieces:

    <a href="{url}" rel="nofollow">{title}</a>

  • 57. Kjetil  |  September 16th, 2008 at 10:21 pm

    I\’m sorry, but that link doesn\’t work. In my case it points to http://www.dolcevita.no/donate/random-posts/ – which doesn\’t exist.
    Just provide a direct link – it could be useful for others too.

  • 58. Rob  |  September 17th, 2008 at 10:55 am

    Kjetil: Thanks for spotting that error of logic! I will fix it in the next release. meantime if you want to donate try: http://rmarsh.com/donate/random-posts/


  • 59. Kjetil  |  September 17th, 2008 at 6:40 pm

    Well done.

  • 60. Javier  |  October 4th, 2008 at 2:03 am

    Wow.. you have done an awesome job with this plugin! Do you have a donations paypal address? It’s amazing, you can format the random exactly as you want, even if by custom (Image) field exists, exactly what I needed!

  • 61. Rob  |  October 4th, 2008 at 10:43 am

    Javier: Thank you very much!

    There is a donations link at the bottom of the plugin’s settings/options page. I tried not to make it too distracting but I’ve obviously overdone it πŸ˜‰

  • 62. Javier  |  October 4th, 2008 at 1:34 pm

    Thanks Rob,.

    i see an answer for this question about displaying the plugin in different places, but I don’t understand how it works. I tried pasting the code but got nothing.

    e.g., random_posts(‘limit=3&output_template={custom:another_field}’)

    Is it possible to not only format differently but also filter for this second display of script?

    If not, could I install a second folder with the same plugin files and change some values to have two different plugins?

  • 63. Rob  |  October 4th, 2008 at 2:50 pm

    Javier: If you invoke the plugin without a parameter string, random_posts(); all the options set from the settings screens apply. But if you can also invoke the plugin with a parameter string and the parameters you supply will override those set from the settings screens. There is a lot of information on the configuration page. You can use the parameter string to change almost all the settings, including the output template.

    Cutting and pasting the example you quoted would not get you very far because it was specific to that particular need.

  • 64. Javier  |  October 5th, 2008 at 1:08 pm

    Great thanks, is there any way to display the top category? (isntead of the immediate category a post is in)

  • 65. Rob  |  October 6th, 2008 at 8:54 am

    Javier: I am a little unclear on the definition of the top category. Do you mean the highest in the hierarchy of any category labels actually assigned to a post? Or are you thinking of tracing up the hierarchy in some way?

    Secondly, what would you want displayed: id, name, link?

  • 66. Kjetil  |  October 8th, 2008 at 9:01 am

    Hello again
    I have a problem with some posts I do not wish to display.
    In your very detailed instructions you say that
    “Beware of choosing settings which are contradictory (e.g., include and exclude the same post)”
    The posts I want to exclude are assigned to two categories – eg maps and regions. I want to show no maps posts but all regions post. I cannot un-assign the maps away from its region’s category (since eg the Veneto region map should show up on that Veneto’s overview page).
    Any way to achieve this, or should I just live with it?

  • 67. Aysseline  |  October 27th, 2008 at 9:51 am

    Hi, I’m using random_posts and I want to know how I can random posts only from one cat. I trying diiferents code but nothing run.
    if (function_exists(‘random_posts’)) random_posts(‘cat=10’);

    if (function_exists(‘random_posts’)) random_posts(‘category=name’);

    I search on doc but cant really know how to do this. Thanks for your help.

  • 68. Embun  |  October 29th, 2008 at 4:34 pm

    Too much love to omit this great plugin thanks.

    There is a little problem for mine.
    I have about 20 post categories. In your admin-filter page, the ‘Random-Post’ filter option shows just 13 categories.

    Where are the remaining categories left?

    I want to exclude some categories, but I didn’t find them in the choice list. So, the posts under undesired categories, still generated in Random-Post section.

    May I get help for this??


    PS: I have a bad English grammar. Hope you can understand.

  • 69. 78hg  |  November 6th, 2008 at 10:16 am

    Thanks, when install it need “Post-Plugin Library.”?

  • 70. lutfi  |  November 13th, 2008 at 12:38 pm


    Is there any way to make this plugin run faster? It need more than 3s to generate random post (for 1 random post)

    By the way, great work.
    Thank you.

  • 71. morrisjfwong  |  November 19th, 2008 at 1:31 am

    Hi, this plugin is really useful.
    Just 1 question: can I generate random post for specified category ?

  • 72. Bas  |  December 8th, 2008 at 5:12 pm

    Hi all!,

    How to show an image by a random post?

    i’m using now:
    <li><li><a href="{url}">{custom:thumbnail-alt:0:65:65}</a>&nbsp;{link}</li></li><br>

    But my pictures from each post are stored into the folder:

    if i want to show the article thumb, i see only the images that appears into my post, and not the thumb.

    How to fix this?

  • 73. Bas  |  December 9th, 2008 at 3:23 pm

    My post with detailed information is removed.

    Please tell me the solution.



  • 74. Bohumil Stejskal  |  December 28th, 2008 at 10:11 pm

    I have same problem as morrisjfwong, but i dont know, how do it

    I need to display random posts in actual categories… Same with popular post plugin. I think, its easy, but i dont see it here :(

    Thanks for reply and for great plugins

  • 75. Bohumil Stejskal  |  December 28th, 2008 at 10:25 pm

    For better specifikation: I need random posts from all categories on homepage and single pages, but in categories i need only random posts from specified(actual) category

  • 76. Bohumil Stejskal  |  December 28th, 2008 at 11:53 pm

    Heh, I know how to…
    For anyone, who has same problem:

    In category code use:
    <?php $ide = $cat; popular_posts("included_cats=$ide"); ?>

    Sorry Rob for three comments. And thanks for awesome plugins!

  • 77. Dave  |  January 7th, 2009 at 6:13 am

    Is there a way to display a horizontal list of 1-5 random posts on my non-Wordpress home page?

    Thank you!

  • 78. San Diego Tim  |  January 12th, 2009 at 11:57 pm

    For those looking to upgrade to WP 2.7, I had no problems with this great plugin when I upgraded.

  • 79. Digigirl  |  February 17th, 2009 at 4:35 pm

    Hi Rob, the plugin works great! I’ve set it up to just show the image and link to the article and it’s working fine.

    One problem I am having though – I have it set to show 4 links and no matter what I do, it continues to show 5, which makes it break onto a second line and run into the next widget down.

    Is there something else I need to do to keep it to 4 posts besides just choose 4 in the Settings screen?

    I am using WP 2.7.1. Thanks!

  • 80. Jason  |  March 1st, 2009 at 11:28 pm

    Hi Rob,

    When I move my cursor into displayed post tilte, then the date when the post created will appear. I do not want visitor see the date. How to change this?

    I try to see outout tags.php, but I don’ t know what to do.

    Please advice. Thanks. Great Plugin!

  • 81. Michael Soriano  |  March 13th, 2009 at 4:29 pm

    Hi Rob,

    Is there any way you can just grab the last 30 posts and randomize it?

  • 82. topmaxtech  |  May 21st, 2009 at 5:52 am

    thank u very match

  • 83. Markus  |  May 22nd, 2009 at 2:50 pm

    Is there a chance to get a tag like {authors_gravatar} ?

  • 84. Markus  |  May 22nd, 2009 at 5:31 pm

    sorry, i have solved it on my own:

    At the function otf_author($option_key, $result, $ext) I added the case “gravatar” like …

    case 'gravatar':	
           $author = get_avatar( get_the_author_email(), '20', '' );

  • 85. Kjetil  |  May 27th, 2009 at 8:49 am

    Can anyone tell me if this plugin is compatible with WP 2.7.1?
    I run WP 2.6.2 and have just been hacked so I need to upgrade – and eventually look for a replacement plugin.
    Would be too bad since both this and Recent posts work great

    The plugin is said to work up to 2.6.2 – and it seems like people have different experiences…

  • 86. Kjetil  |  May 27th, 2009 at 8:49 am

    PS and what about 2.6.5? Does it work there?

  • 87. emacrisema  |  June 15th, 2009 at 5:25 pm

    How could I add an image through an custom field (I don’t want the image in the post) that is also clickable ?

  • 88. Talamentes  |  June 16th, 2009 at 1:28 am

    Thank you, it was really usefull, but it would be perfect if it could also include an image from the post

    it would be more atractive for the viewers

  • 89. Digigirl  |  June 16th, 2009 at 2:37 am

    I figured out to add an image.

    Go to Settings>Random Posts Options>Output

    In the Output Template field, I put {custom:minithumb}

    Then on each post, I do a custom field called Minithumb and put the url of my image. Mine is sized 65px x 65px. You can see the result on my web site at the top of the right hand sidebar.

    I am only putting the image there, which links to the post. You could add the title but I don’t know what to tell you on how to format it to output properly. Good luck!

  • 90. Adam  |  June 16th, 2009 at 12:17 pm

    It’s possible to set, that pugin will display only posts not older then (some date) or last 3 monts, or something similar?

  • 91. Lee  |  November 17th, 2009 at 12:08 am

    Hi Rob
    can you explain how to configure the code systax in order to;
    Create 4 widgets, each widget will have 1 of the these category (1,2,3,4) assigned to it.

    The post title will bea link to the full post. the content will be 50 word snippet and will have the suffix “continue reading” which will be a link to the full article.

    I have been struggling to put this together


  • 92. John  |  August 31st, 2011 at 6:44 pm

    Is it possible to exclude the category on the source post? What I mean is if the post a visitor is looking at is from the category NEWS, the random posts displayed should never be from the same NEWS category. Can this be done somehow? However, I don’t want to block the News category altogether, since random posts should be displayed if somebody comes from another category.

    PS. By the way, excellent plugin. Very easy to set up.