• Resolved lemondropcreative

    (@lemondropcreative)


    Hello

    Is it possible anyone can tell me how i can alter the code in header.php so that one page has a different logo than the rest of the site?

    Any help would be much appreciated.

    Thanks

    The existing code is:

    <div class="logo">
    <?php if($custom_settings["logo_text_based"]){ ?>
    <h1><a>"><?php echo $custom_settings["logo_text_based"]; ?></a></h1>
    <?php }else{ ?>
    <a>"><img src="<?php if($custom_settings["logo"]) { echo $custom_settings["logo"]; }else{ echo get_bloginfo('template_directory') . "/images/logo.gif"; } ?>" alt="Logo" /></a>
    <?php } ?>
    </div>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

  • The topic ‘Different Logo on one Page?’ is closed to new replies.