I'm a complete newb with PHP and was hoping to get some help.
I'd like to write a script to insert into Wordpress that displays three random images from a set of many (50+) I have chosen.
I then want each image to link to a different post.
online and it looks like it would display random images. The issue is that (a) it doesn't display three images (with no repeats) and (b) it doesn't allow me to link the images to posts.
<img src="http://path_to_images/headerimage_<?php echo(rand(1,3)); ?>.jpg"
width="image_width" height="image_height" alt="image_alt_text" />
Would anyone here please help me? Thanks so much