I have a question I'm using a theme where the header image changes in different pages of the page because is set like that. But the main header image stays in all the remain pages..
What I want to do is to randomize 2 main header images everytime you refresh the page but leave the other header images to the other pages...
I don't know if I explain myself wellb but I'm leaving the code here. It must me something really easy and if you check out the code, you'll understand what I'm talking about.
<?php
//Define Header Logo
$catImage = "img/vallelogo.png";
if (is_page('994')) {
$catImage = "wp-content/uploads/2013/03/logo_lacomercial.png";
}
if (is_page('1013')) {
$catImage = "wp-content/uploads/2013/03/logo_lacomercial.png";
}
if (is_page('998')) {
$catImage = "wp-content/themes/theme1965/images/logo_lafamosa.png";
}
?>
I want the first image
$catImage = "/img/vallelogo.png";
along with another image I want to add to randomize in the whole website, but leave the other images to show in those specific pages. How do I add the other image and make those 2 main headers to randomize in the whole website?