• Exactly what I wanted and expected.

    I use the following code to choose a random featured image,

    <?php
    	$featured_images = $dynamic_featured_image->get_featured_images();
    	$random_key = array_rand($featured_images);
    	$chosen_image = $featured_images[$random_key]['full'];
    ?>
  • The topic ‘Worked perfectly out of the box’ is closed to new replies.