Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • It worked – very much appreciated!
    Thanks dude

    When i insert the code you provided I am getting a parse errer:

    Parse error: syntax error, unexpected ‘{‘ in /home/roundtab/public_html/wp-content/themes/roundtable/header.php on line 96

    which is referring to this line:
    if ( is_page(‘about-us’) { ?>

    I essentialy replaced the following code with the code you provided:

    ——————————
    <?php $t_custom_background = get_option( “nattywp_custom_header” );
    if ($t_custom_background != ”) { ?>
    <img src=”<?php echo $t_custom_background; ?>” alt=”Header image” border=”0″ />
    <?php } elseif (!isset($t_main_img) || $t_main_img == ‘no’ || $t_main_img == ‘header2.jpg’ ) { ?>

    ——————————

    Thoughts?

    Hi there alchymyth – thank you for the quick response!
    The site can be seen here – http://www.roundtablefun.com

    Here is the code for the header image in header.php – perhaps you can help me make some sense of it ?!
    ——–

    <div class=”head-img”>
    <div class=”tagline”><?php bloginfo(‘description’); ?></div>

    <?php $t_custom_background = get_option( “nattywp_custom_header” );
    if ($t_custom_background != ”) { ?>
    <img src=”<?php echo $t_custom_background; ?>” alt=”Header image” border=”0″ />
    <?php } elseif (!isset($t_main_img) || $t_main_img == ‘no’ || $t_main_img == ‘header2.jpg’ ) { ?>
    <img src=”<?php echo get_template_directory_uri(); ?>/images/header/headers.jpg” alt=”Header image” border=”0″ />
    <?php } else { ?>
    <img src=”<?php echo get_template_directory_uri(); ?>/images/header/<?php echo t_get_option( “t_main_img” ); ?>” alt=”Header image” border=”0″ />
    <?php } ?>
    </div>
    —————–

    The theme has the ability to use a custom header controlled by the theme options in the admin panel – but i am not using that option.
    Thanks again!

    I am using the Delicate theme and am trying to make it so that the heder has a different image only on the about us page. I have tried the methods you have listed about without much success… i was hoping that someone could point me in the right direction?
    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)