Plugin: Random File
Description:
Retrieve the name of a randomly chosen file in a given directory. Useful for displaying random images/logos or including text from random files onto your site (writing excerpts, multi-line quotes, etc).
Details can be found at the plugin's homepage:
http://www.coffee2code.com/archives/2004/07/08/plugin-random-file/
All of my plugins can be found at:
http://www.coffee2code.com/wp-plugins/
Plugin updated to v1.0
Changes in this release:
* Renamed function from random_file() to c2c_random_file()
* Added new reftype of 'filename' (so you can just get the filename of the random file without any directory/URL information)
* Added optional array argument $extensions for files not to be considered in random file selection
* Updated license and examples
* Verified that plugin works in WP 1.5 (and still works in WP 1.2)
[ The original thread for this plugin seems to be locked down... http://wordpress.org/support/topic.php?id=8780 ]