Code: Select all
<?php
$banner1 = '<a href="https://plexusworldwide.com/essentialsoflife/home" target="_blank"><img class="aligncenter" src="http://cdn.essentialsoflife.net/bludit-test/bl-themes/plexathon/img/slim-01.jpg" alt="<?php echo $page->title(); ?>"></a>';
$banner2 = '<a href="https://plexusworldwide.com/essentialsoflife/home" target="_blank"><img class="aligncenter" src="http://cdn.essentialsoflife.net/bludit-test/bl-themes/plexathon/img/slim-02.jpg" alt="<?php echo $page->title(); ?>"></a>';
$banner3 = '<a href="https://plexusworldwide.com/essentialsoflife/home" target="_blank"><img class="aligncenter" src="http://cdn.essentialsoflife.net/bludit-test/bl-themes/plexathon/img/slim-03.jpg" alt="<?php echo $page->title(); ?>"></a>';
$banners = array($banner1, $banner2, $banner3);
shuffle($banners);
?>
<div>
<?php echo $banners[0] ?>
</div>