We'll create fresh WordPress site with Random Image Selector installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin will generate an tag for a random image selected from a specified folder.
By placing code like the following in your header, it will create an image tag for you
based on the images in the specified folder.
<?php
if (function_exists(‘generateRandomImgTag’))
{
generateRandomImgTag();
}
?>
<!–
The lines above are for the HTML documentation (online)
–>
This code will ensure that the function exists (ie the plugin is active and working) and
call it if it’s working correctly. If the function is missing, or the plugin has been
removed then the call will be ignored, and no errors will result.
kdmurray.at.kdmurray.dot.net