How can I control the header image based on the page?
Hi
I love the Atahualpa theme! So much configuration! I want to select the header image based on the page that I'm currently viewing. Is there a way to do this in Atahualpa? I'm a rank beginner with PHP/CSS etc. but what I'd like to do is something like: <?php $image = ''; if( is_page('About') ) : $image = 'AboutImage.jpg'; elseif( is_page('Contact') ) : $image = 'ContactImage.jpg'; endif; if( $image != '' ) : echo '<img src=".........' endif; ?> Thanks |
You can do this thru CSS. Do a forum search - it was asked October 14th
|
All times are GMT -6. The time now is 01:50 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.