Hi.
I am trying to edit several pages to have different header images in them. For example I want the home page to display the code listed below but I want the about page to display a different image in the logo-area. This needs to happen for several different page/image combinations and I don’t have the time to learn php before my deadline. Can anyone help me with this?
I have tried overwriting the code with plain html and it isn’t working. I also tried removing the dynamic data call and replacing it with a direct image link. Ugh. I am stuck any ideas?
This is an elegant theme template and they will not help with this. I tried that already. ? Please help.
<div class=”container”>
<div id=”logo-area”<?php if ( ‘on’ == $use_header_banner ) echo ‘ class=”header_banner clearfix”‘; ?>>
<a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>
<?php
$color_scheme = et_get_option( ‘lucid_color_scheme’, ‘Orange’ );
$color_scheme = ( ‘Orange’ == $color_scheme ) ? ” : ‘-‘ . strtolower( $color_scheme );
$logo = ( ( $user_logo = et_get_option(‘lucid_logo’) ) && ” != $user_logo ) ? $user_logo : get_template_directory_uri() . “/images/logo{$color_scheme}.png”;
?>
<img src=”<?php echo esc_url ( $logo ); ?>” alt=”<?php echo esc_attr( get_bloginfo(‘name’)) ; ?>” id=”logo”/>
</a>
<?php if ( ‘on’ == $use_header_banner ){ ?>
<div id=”top_banner”>
<?php
if ( ( $lucid_468_header_adsense = et_get_option(‘lucid_468_header_adsense’) ) && ” != $lucid_468_header_adsense ) echo( $lucid_468_header_adsense );
else { ?>
<a href=”<?php echo esc_url(et_get_option(‘lucid_468_header_url’)); ?>”><img src=”<?php echo esc_attr(et_get_option(‘lucid_468_header_image’)); ?>” /></a>
<?php } ?>
</div> <!– end #top_banner –>
<?php } ?>
</div>
</div>