Skip to content

Commit

Permalink
Updating background image rotation code
Browse files Browse the repository at this point in the history
  • Loading branch information
Adi committed May 24, 2014
1 parent b441a64 commit 753ff21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wp-content/themes/wpbootstrap/bg.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php
$bg = array('http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/coins.jpg','http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/terracotta1.jpeg','http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/hoard.jpg','http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/pottery.jpg');
$bg = array('http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/coins.jpg','http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/terracotta5.jpeg','http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/hoard.jpg','http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/easter.jpeg','http://adi.micropasts.org/wp-content/uploads/sites/3/2014/05/testaccio.jpg');
$i = rand(0, count($bg)-1);
$selectedBg = $bg[$i];
?>

?>

0 comments on commit 753ff21

Please sign in to comment.