Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Different header image on each page (http://forum.bytesforall.com/showthread.php?t=5728)

izzysanime Feb 5, 2010 10:23 AM

Different header image on each page
 
Hi, Is there a way to put a different header image on the home page, and a different header image on the blog page? No rotation, just a different image set for each page.

Thanks,
Josh

juggledad Feb 5, 2010 10:55 AM

I believe this has been answered in the forums. Did you do a search?

lmilesw Feb 6, 2010 05:10 AM

My vote is for the Dynamic Headers plugin. Atahalpa makes this plugin very easy to use. You just install the plugin, replace %image with <?php show_media_header(); ?> in ATO>Style & edit HEADER AREA>Configure Header Area. Then you go to whatever page you want to change the image for and select the picture as outlined in the directions for this plugin. You can choose to have a default image or not in which case there will be no header image.

izzysanime Feb 6, 2010 07:33 AM

Yes, I did hear about that. I just installed that add on and will give it a try.

Thanks,,
Josh

izzysanime Feb 13, 2010 07:42 AM

thank you lmilesw, i was having issues installing it, but saw your altered php code to add to the theme and it worked. I was trying to add it to the header.php with no luck,

Thanks,
Josh

PixelGraphixDesign Feb 13, 2010 06:22 PM

Ditto! Thanks for the answer.

lmilesw Feb 13, 2010 08:19 PM

Note: I think the latest version of Dynamic Headers uses a slightly different php code.

whitie Feb 14, 2010 11:33 PM

Hi! Firstly, I'm thankful to finally be a part of this great community for the Atahualpa them (and wordpress in general). :)

In regards to Dynamic Headers - they work great through replacing %image with <?php show_media_header(); ?> in the configure header area.

I have one question though. I was wanting to center (vertically and horizontally) the picture. I appears to place it upper left, upper left? I have been able to accomplish it by using the following code:

<?php echo '<center>'; show_media_header(); echo '</center>';?>

But thats really ugly (I'm sorry for your eyes!). Is there a better way to accomplish this?


All times are GMT -6. The time now is 03:12 AM.

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