Hello everyone, I've just starting using this great plugin, but I've come across a problem setting up the category option...
This is the code I'm trying to get working in my sidebar
<?php the_random_thumb('link=p&WIDTH=91&HEIGHT=123&showtitle=T&category=11'); ?>
and this is the result in my page
Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in /home/chiloeno/public_html/santiago/wp-content/plugins/post-thumb/post-thumb.php on line 451
Warning: Invalid argument supplied for foreach() in /home/chiloeno/public_html/santiago/wp-content/plugins/post-thumb/post-thumb.php on line 414
when I take out the "category=11" it does work, but in the available parameters it's a valid one, so I guess there might be some problem with the file...
Here're the source code to the plugin: http://post-thumb-revisited.googlecode.com/svn/trunk/
And here're the available parameters: http://code.google.com/p/post-thumb-revisited/wiki/Parameters
hope anyone can give me a light on this... thanks guys :(