Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

How can I control the header image based on the page?

Old Nov 7, 2010, 07:07 PM
9 posts · Nov 2010

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';
if( $image != '' ) :
echo '<img src=".........'

Old Nov 7, 2010, 07:12 PM
juggledad's Avatar
23,696 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can do this thru CSS. Do a forum search - it was asked October 14th
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Category page sorting of posts based on WP-PostRatings? Dr.GameMaker Plugins & Atahualpa 8 Aug 9, 2010 01:46 PM
Can not control the Page sub_menu's width tsuxia Page & Category Menu Bars 1 Jul 4, 2010 10:18 PM
Conditional Logic for %logo and %image control cab262 Header configuration & styling 1 May 5, 2010 09:24 AM
Change image based upon width haenchensd Header configuration & styling 1 Aug 3, 2009 04:21 PM
How to customize sidebars based on page guacamoly Sidebars & Widgets 1 May 5, 2009 06:46 PM

All times are GMT -6. The time now is 06:42 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.