Hi all,
I have a little issue i'm hoping to get resolved.
Its all about header includes.
With my set up I have a header which is to include different header images dependent on which page of the site your on. I only wanted to call this once hence why I placed it in the header.
I have in my header.php for eg:
if $thispage = ('Home'); { include ('headerimage1.php');
}
elseif $thispage = ('Blog'); { include ('headerimage2.php');
}
Then above my header call on each template page if have:
$thispage = 'Home';
Unfortunately they do not seem to be called through... the code is right as I have used it on a none WP website.
Now I have tried the includes in each template page and they do work but It isn't really ideal as I would rather only change 1 page than 20!
has anyone else had any issues with this? or any suggestions... I can supply more info if needed.