Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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?

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Nov 7, 2010, 06:07 PM
9 posts · Nov 2010
How can I control the header image based on the page?


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, 06:12 PM
juggledad's Avatar
23,242 posts · Mar 2009
OSX 10.10.1 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 12:46 PM
Can not control the Page sub_menu's width tsuxia Page & Category Menu Bars 1 Jul 4, 2010 09:18 PM
Conditional Logic for %logo and %image control cab262 Header configuration & styling 1 May 5, 2010 08:24 AM
Change image based upon width haenchensd Header configuration & styling 1 Aug 3, 2009 03:21 PM
How to customize sidebars based on page guacamoly Sidebars & Widgets 1 May 5, 2009 05:46 PM

All times are GMT -6. The time now is 01:51 AM.

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