Different header per page?
-
I would like to make it a part of my theme to where the header changes depending on the page that I am on a different image will appear in the header. I am fairly new to wordpress but I have a lot of xhtml/css experience and my php knowledge is moderate. I can find my way around a lot in PHP but I can’t write it all off the top of my head….
I am unsure of the best way to approach this (or if something like it exists). Should I try adding a field to the Edit Page page in admin that holds my image URL or is it something I can use the custom field for this? Will there be a problem doing it that way since the header isn’t in the loop? The only way I can thing of doing it inside the loop and still change the header is to insert javascript that does a DOM element.style.background change or something.
Thanks for and any all help! ??
- The topic ‘Different header per page?’ is closed to new replies.