Add different logo to wordpress pages
<p>I have a theme i am customizing on wordpress(Increate themes), the thing is the owner wants a page that talks something different and it will also have a different logo, my question is how can i insert a different logo to the page.</p>

<p>this is my theme header.php logo part</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;!--[if IE 7]&gt;
&lt;html class="ie ie7" &lt;?php language_attributes(); ?&gt;&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 8]&gt;
&lt;html class="ie ie8" &lt;?php language_attributes(); ?&gt;&gt;
&lt;![endif]--&gt;
&lt;!--[if !(IE 7) | !(IE 8)  ]&gt;&lt;!--&gt;
&lt;html &lt;?php language_attributes(); ?&gt; class="no-js"&gt;
&lt;!--&lt;![endif]--&gt;
&lt;head&gt;
&lt;meta charset="&lt;?php bloginfo( 'charset' ); ?&gt;" /&gt;
&lt;?php global $ht_options; ?&gt;

&lt;!-- favicon --&gt;
&lt;?php if($ht_options['custom_favicon']) { echo ht_favicon($ht_options['custom_favicon']);} ?&gt;

&lt;?php if($ht_options['apple_ipad_logo']): ?&gt;
&lt;!-- For iPad --&gt;
&lt;link rel="apple-touch-icon-precomposed" sizes="72x72" href="&lt;?php echo $ht_options['apple_ipad_logo']; ?&gt;"&gt;
&lt;?php endif; ?&gt;

&lt;?php if($ht_options['apple_logo']): ?&gt;
&lt;!-- For iPhone --&gt;
&lt;link rel="apple-touch-icon-precomposed" href="&lt;?php echo $ht_options['apple_logo']; ?&gt;"&gt;
&lt;?php endif; ?&gt;    

&lt;!-- responsive --&gt;
&lt;?php if( $ht_options['responsive_layout'] =='responsive' ) {?&gt;
    &lt;meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width"&gt;
&lt;?php } ?&gt;


&lt;!--[if IE]&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=EmulateIE8; IE=EDGE" /&gt;
    &lt;script src="http://html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
&lt;![endif]--&gt;

&lt;!-- RSS feed --&gt;
&lt;link rel="profile" href="http://gmpg.org/xfn/11" /&gt;
&lt;link rel="alternate" type="application/rss+xml" title="&lt;?php bloginfo('name'); ?&gt; RSS Feed" href="&lt;?php if ( $ht_options['rss_id'] &lt;&gt; "" ) { echo $ht_options['rss_id']; } else { echo get_bloginfo_rss('rss2_url'); } ?&gt;" /&gt;
&lt;link rel="pingback" href="&lt;?php bloginfo('pingback_url'); ?&gt;" /&gt;
 &lt;?php echo $ht_options['before_head']; ?&gt;
&lt;?php wp_head(); ?&gt;   

&lt;/head&gt;
&lt;?php
$dark_layout = '';
if( $ht_options['dark_skin'] ){
$dark_layout = 'dark-layout';
} 
?&gt;
&lt;body &lt;?php body_class($dark_layout); ?&gt;&gt;
&lt;div id="frame_"&gt;
    &lt;div id="layout" class="&lt;?php echo $ht_options['layout_type']; ?&gt; "&gt;
        &lt;header id="header"&gt;
        &lt;?php if(!$ht_options['disable_top_header']) {?&gt;
            &lt;div class="head_up"&gt;
                &lt;div class="row clearfix"&gt;
                    &lt;div class="l_ht"&gt;
                    &lt;?php echo $ht_options['top_header_info'];?&gt;
                    &lt;/div&gt;&lt;!-- end text left --&gt;

                    &lt;div class="r_ht"&gt;
                    &lt;?php 
                    if( is_woocommerce_activated() ): 
                        global $woocommerce;
                        $total_amount     = $woocommerce-&gt;cart-&gt;get_cart_total(); 
                        $cart_item_counts = $woocommerce-&gt;cart-&gt;cart_contents_count;
                        $cart_url         = $woocommerce-&gt;cart-&gt;get_cart_url();
                        $checkout_url     = $woocommerce-&gt;cart-&gt;get_checkout_url();
                    ?&gt;                        
                        &lt;div class="shopping_bag"&gt;
                            &lt;div class="header_bag"&gt;
                                &lt;a href="&lt;?php echo $cart_url;?&gt;"&gt;&lt;i class="icon_bag_alt"&gt;&lt;/i&gt;&lt;span&gt; &lt;?php echo $cart_item_counts;?&gt; &lt;?php _e("item(s)", "highthemes");?&gt; / &lt;?php echo $total_amount;?&gt;&lt;/span&gt;&lt;/a&gt;
                            &lt;/div&gt;&lt;!-- .header_bag --&gt;
                            &lt;div class="view_cart_mini"&gt;
                                &lt;div class="view_cart"&gt;
                                &lt;?php if ( sizeof( $woocommerce-&gt;cart-&gt;get_cart() ) &gt; 0 ) {?&gt;
                                    &lt;ul class="cart_list"&gt;
                                    &lt;?php
                                        foreach ( $woocommerce-&gt;cart-&gt;get_cart() as $cart_item_key =&gt; $values ) {
                                            $_product = $values['data'];
                                            if ( $_product-&gt;exists() &amp;&amp; $values['quantity'] &gt; 0 ) {
                                                ?&gt;
                                        &lt;li class="clearfix"&gt;
                                            &lt;?php
                                            $thumbnail = apply_filters( 'woocommerce_in_cart_product_thumbnail', $_product-&gt;get_image(), $values, $cart_item_key );
                                            printf('&lt;a href="%s"&gt;%s&lt;/a&gt;', esc_url( get_permalink( apply_filters('woocommerce_in_cart_product_id', $values['product_id'] ) ) ), $thumbnail );
                                            ?&gt;                                                
                                            &lt;div class="cart_list_product_title"&gt;
                                                &lt;?php
                                                if ( ! $_product-&gt;is_visible() || ( ! empty( $_product-&gt;variation_id ) &amp;&amp; ! $_product-&gt;parent_is_visible() ) )
                                                    echo apply_filters( 'woocommerce_in_cart_product_title', $_product-&gt;get_title(), $values, $cart_item_key );
                                                else
                                                    printf('&lt;a href="%s"&gt;%s&lt;/a&gt;', esc_url( get_permalink( apply_filters('woocommerce_in_cart_product_id', $values['product_id'] ) ) ), apply_filters('woocommerce_in_cart_product_title', $_product-&gt;get_title(), $values, $cart_item_key ) );

                                                // Meta data
                                                echo $woocommerce-&gt;cart-&gt;get_item_data( $values );

                                                // Backorder notification
                                                if ( $_product-&gt;backorders_require_notification() &amp;&amp; $_product-&gt;is_on_backorder( $values['quantity'] ) )
                                                    echo '&lt;p class="backorder_notification"&gt;' . __( 'Available on backorder', 'highthemes' ) . '&lt;/p&gt;';

                                                if ( $_product-&gt;is_sold_individually() ) {
                                                    $product_quantity = sprintf( '1', $cart_item_key );
                                                } else {
                                                    $product_quantity = esc_attr( $values['quantity'] );
                                                }
                                                ?&gt;                                       
                                                &lt;div class="cart_list_product_quantity"&gt;&lt;?php _e("Quantity", "highthemes");?&gt;: &lt;?php echo $product_quantity;?&gt; / &lt;?php
                                                echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf('&lt;a href="%s" class="remove toptip" title="%s"&gt;[x]&lt;/a&gt;', esc_url( $woocommerce-&gt;cart-&gt;get_remove_url( $cart_item_key ) ), __( 'Remove this item', 'highthemes' ) ), $cart_item_key );
                                                ?&gt;
                                                &lt;/div&gt;&lt;!-- .cart_list_prodcut_quantity --&gt;
                                            &lt;/div&gt;
                                        &lt;/li&gt;
                                        &lt;?php
                                                }
                                            }
                                        ?&gt;
                                    &lt;/ul&gt;&lt;!-- .cart_list--&gt;
                                    &lt;span class="total_checkout fll"&gt;&lt;?php _e("Cart subtotal", "highthemes");?&gt;&lt;/span&gt;
                                    &lt;span class="amount_total flr"&gt;
                                    &lt;?php
                                    echo $total_amount;

                                    ?&gt;
                                    &lt;/span&gt;
                                    &lt;div class="tac" style="clear:both"&gt;
                                        &lt;a href="&lt;?php echo $cart_url;?&gt;" class="tbutton mt small"&gt;&lt;span&gt;&lt;?php _e("View Cart", "highthemes");?&gt;&lt;/span&gt;&lt;/a&gt;   
                                        &lt;a href="&lt;?php echo $checkout_url;?&gt;" class="tbutton mt small"&gt;&lt;span&gt;&lt;i class="icon_cart_alt mi"&gt;&lt;/i&gt;&lt;?php _e("Checkout", "highthemes");?&gt;&lt;/span&gt;&lt;/a&gt;
                                    &lt;/div&gt;
                                    &lt;?php } else { // end check if cart    ?&gt;
                                    &lt;p&gt;
                                        &lt;?php _e("Your cart is empty!", "highthemes");?&gt;
                                    &lt;/p&gt;
                                    &lt;?php }?&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;?php endif // if woocommerc is activated;?&gt;
                    &lt;?php 
                    if( function_exists('icl_get_languages') ){
                        $langs = icl_get_languages('skip_missing=1');
                        if($langs) {
                            $current_lang = '';
                            foreach ($langs as $key =&gt; $lang) {
                                if($lang['active']){
                                    $current_lang = $lang;
                                    unset($langs[$key]);
                                }
                            }
                    ?&gt;
                        &lt;div class="languages"&gt;
                        &lt;?php if ( $current_lang ) {
                           echo '&lt;a title="'.$lang['native_name'].'" href="'. $current_lang['url'] .'"&gt;&lt;span&gt;'. strtoupper($current_lang['language_code']) .'&lt;/span&gt;&lt;/a&gt;';
                        }?&gt;

                            &lt;div class="other_languages"&gt;
                            &lt;?php
                                foreach ($langs as $key =&gt; $lang) {
                                    echo '&lt;a title="'.$lang['native_name'].'" href="'. $lang['url'] .'"&gt;&lt;span&gt;'. strtoupper($lang['language_code']) .'&lt;/span&gt;&lt;/a&gt;';
                                }
                            ?&gt;
                            &lt;/div&gt;&lt;!-- end other --&gt;
                        &lt;/div&gt;&lt;!-- end languages --&gt;
                    &lt;?php } }// end wpml ?&gt;
                        &lt;div class="social social_head"&gt;
                           &lt;?php echo ht_social_icons_list();?&gt;
                        &lt;/div&gt;&lt;!-- end social --&gt;

                    &lt;/div&gt;&lt;!-- end social and bag --&gt;
                &lt;/div&gt;&lt;!-- row --&gt;
            &lt;/div&gt;&lt;!-- head --&gt;
        &lt;?php }?&gt;
        &lt;?php 
        $sticky_header = '';
        if( $ht_options['sticky_header'] ) {
            $sticky_header = 'my_sticky';
        }
        ?&gt;
            &lt;div class="headdown &lt;?php echo $sticky_header;?&gt;"&gt;
                &lt;div class="row clearfix"&gt;
                    &lt;div class="logo"&gt;
                        &lt;a title="&lt;?php bloginfo("description");?&gt;" href="&lt;?php echo home_url();?&gt;"&gt;
                            &lt;?php if ($ht_options['logo_url']) { ?&gt;
                            &lt;img src="&lt;?php echo $ht_options['logo_url'];?&gt;" alt="&lt;?php bloginfo('description'); ?&gt;"/&gt;
                            &lt;?php } else { ?&gt;
                            &lt;img  src="&lt;?php echo get_template_directory_uri();?&gt;/images/logo.png" alt="Logo"/&gt;

                         &lt;?php }?&gt;

                        &lt;/a&gt;
                    &lt;/div&gt;
                    &lt;?php if(!$ht_options['disable_top_search']) {?&gt;
                    &lt;div class="search"&gt;
                        &lt;div class="search_icon"&gt;&lt;i class="icon_search icon_close"&gt;&lt;/i&gt;&lt;/div&gt;
                        &lt;div class="s_form"&gt;
                            &lt;form action="&lt;?php echo site_url(); ?&gt;/" id="search" method="get"&gt;
                                &lt;input id="inputhead" name="s" type="text" onfocus="if (this.value=='&lt;?php _e("Start Searching...", "highthemes");?&gt;') this.value = '';" onblur="if (this.value=='') this.value = '&lt;?php _e("Start Searching...", "highthemes");?&gt;';" value="&lt;?php _e("Start Searching...", "highthemes");?&gt;" placeholder="&lt;?php _e("Start Searching...", "highthemes");?&gt;"&gt;
                                &lt;button type="submit"&gt;&lt;i class="icon_search"&gt;&lt;/i&gt;&lt;/button&gt;
                            &lt;/form&gt;&lt;!-- end form --&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;?php }?&gt;
            &lt;?php wp_nav_menu( array('menu_class' =&gt; 'sf-menu', 'menu_id' =&gt; 'menu',  'menu' =&gt; 'default',  'container' =&gt; 'nav','theme_location' =&gt; 'nav', 'container_id' =&gt; 'nav' ) );  ?&gt;
            &lt;!-- end nav --&gt;
                &lt;/div&gt;&lt;!-- row --&gt;
            &lt;/div&gt;&lt;!-- headdown --&gt;
        &lt;/header&gt;&lt;!-- end header --&gt;


    &lt;?php 
    $ht_header_type = '';
    if($post){
        $ht_header_type = ht_get_header_type(get_the_ID());       
    }
    ?&gt; 
    &lt;?php if ( is_page_template('tpl-under-construction.php') ) {?&gt;
    &lt;?php } elseif( $ht_header_type =='rev-slider' ) { ?&gt;
    &lt;div class="sliderr" id="main-slideshow"&gt;
    &lt;?php
    if(function_exists('putRevSlider')) {
       putRevSlider(get_post_meta(get_the_ID(), '_ht_rev_slider', true));
    }
    ?&gt;
    &lt;/div&gt;  
    &lt;?php 
    $overlay_caption_title = get_post_meta( get_the_ID(), '_ht_overlay_caption_title', true );
    $overlay_button1_title = get_post_meta( get_the_ID(), '_ht_overlay_button1_title', true );
    $overlay_button1_link  = get_post_meta( get_the_ID(), '_ht_overlay_button1_link', true );
    $overlay_button1_icon  = get_post_meta( get_the_ID(), '_ht_overlay_button1_icon', true );
    $overlay_button2_title = get_post_meta( get_the_ID(), '_ht_overlay_button2_title', true );
    $overlay_button2_link  = get_post_meta( get_the_ID(), '_ht_overlay_button2_link', true );
    $overlay_button2_icon  = get_post_meta( get_the_ID(), '_ht_overlay_button2_icon', true );

    if( !empty($overlay_button1_title) || !empty($overlay_button2_title) || !empty($overlay_caption_title) )  {?&gt;
    &lt;div class="intro_p tac"&gt;
        &lt;div class="row inner clearfix"&gt;
        &lt;?php if( !empty($overlay_caption_title) ) {?&gt;
            &lt;h2&gt;&lt;?php echo $overlay_caption_title;?&gt;&lt;/h2&gt;
        &lt;?php }?&gt;
        &lt;?php if( !empty($overlay_button1_title) ) {?&gt;
            &lt;a href="&lt;?php echo $overlay_button1_link;?&gt;" class="tbutton large"&gt;
            &lt;?php if( !empty($overlay_button1_icon) ) {?&gt;&lt;i class="&lt;?php echo $overlay_button1_icon;?&gt;"&gt;&lt;/i&gt;&lt;?php }?&gt;
            &lt;span&gt;&lt;?php echo $overlay_button1_title;?&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;?php } ?&gt;
        &lt;?php if( !empty($overlay_button2_title) ) {?&gt;
            &lt;a href="&lt;?php echo $overlay_button2_link;?&gt;" class="tbutton large m_left"&gt;
            &lt;?php if( !empty($overlay_button2_icon) ) {?&gt;&lt;i class="&lt;?php echo $overlay_button2_icon;?&gt;"&gt;&lt;/i&gt;&lt;?php }?&gt;
            &lt;span&gt;&lt;?php echo $overlay_button2_title;?&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;?php } ?&gt;            
        &lt;/div&gt;&lt;!-- End row --&gt;
    &lt;/div&gt;&lt;!-- End intro p --&gt;     
    &lt;?php }?&gt;        
    &lt;?php } else if ( $ht_header_type =='title' ) {
        $header_bg_repeat = $header_bg_position = $header_bg_cover = '';

        if(is_page() || is_single() ) {
            $header_centered    = get_post_meta( get_the_ID(), '_ht_header_centered', true );
        }
        $header_background  = get_post_meta( get_the_ID(), '_ht_header_background', true );

        if( empty($header_background) || $header_background =='default'  ) {
            $header_bg    =  'background-image:url('.get_template_directory_uri().'/images/assets/breadcrumb1.jpg); background-repeat: no-repeat;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size:cover; background-size: cover;' ;

        } elseif ( $header_background == 'custom' ) {

            $header_bg          = get_post_meta( get_the_ID(), '_ht_header_bg', true );
            $header_bg_repeat   = get_post_meta( get_the_ID(), '_ht_header_bg_repeat', true );
            $header_bg_position = get_post_meta( get_the_ID(), '_ht_header_bg_position', true );
            $header_bg_cover    = get_post_meta( get_the_ID(), '_ht_header_bg_cover', true );
            $header_bg          = ( !empty($header_bg) ) ?  wp_get_attachment_image_src( $header_bg, 'full')  : '';
            $header_bg          = ( !empty($header_bg) ) ?  'background-image:url(' . $header_bg[0] . ');' : '';
            $header_bg_repeat   = ( !empty($header_bg) ) ?  'background-repeat:' . $header_bg_repeat . ';' : '';
            $header_bg_position = ( !empty($header_bg) ) ?  'background-position:' . $header_bg_position . ';' : '';
            $header_bg_cover    = ( !empty($header_bg) &amp;&amp; !empty($header_bg_cover) ) ?  'background-repeat:no-repeat;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size:cover; background-size: cover;' : '';                

        } else {
            $header_bg    =  'background-image:url('.get_template_directory_uri().'/images/assets/'.$header_background.'); background-repeat: no-repeat;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size:cover; background-size: cover;' ;

        }

        $header_centered    = ( !empty($header_centered) ) ?  ' centered' : '';


        $styles = 
                  $header_bg.
                  $header_bg_repeat.
                  $header_bg_position.
                  $header_bg_cover;

    ?&gt;

        &lt;div class="breadcrumb-place" style="&lt;?php echo $styles;?&gt;"&gt;
            &lt;div class="row clearfix"&gt;
                &lt;h3 class="page-title"&gt;
                &lt;?php
                if( is_woocommerce_activated() ) {
                    if( is_shop() ) {
                             woocommerce_page_title(); 
                    }

                }
                if ( is_page() || is_single() ) the_title();
                else if ( is_category() ) _e("Category : ",'highthemes'). single_cat_title('', true);
                else if ( is_tag() ) _e("Tag : ",'highthemes').single_tag_title('', true);
                else if ( is_year() ) echo get_the_date( _x( 'Y', 'yearly archives date format', 'highthemes' ) );
                else if ( is_month() )  echo get_the_date( _x( 'F Y', 'monthly archives date format', 'highthemes' ) );
                else if ( is_day() )  echo get_the_date();
                else if ( is_author() ) echo get_the_author();
                else if ( is_search() ) printf( __('Search results for','highthemes') . " %s", '"' . get_search_query() . '"' );
                else if ( is_tax() ) {
                    global $wp_query;
                    $term = $wp_query-&gt;get_queried_object();
                    echo $term-&gt;name;
                } 
                ?&gt;
                &lt;/h3&gt;
                &lt;?php
                if( !is_woocommerce_activated() ) {
                   if($ht_options['breadcrumb_inner']){ ?&gt;
                            &lt;?php if (class_exists('simple_breadcrumb')) { $bc = new simple_breadcrumb; } ?&gt;
                &lt;?php }
                } else {
                    if(( is_woocommerce() || is_cart()  ||  is_checkout() || is_account_page() ) and ($ht_options['breadcrumb_inner'])) {
                            woocommerce_breadcrumb();
                    } else if ($ht_options['breadcrumb_inner']) {
                        ?&gt;
                        &lt;div id="breadcrumb" class="&lt;?php echo $header_centered;?&gt;"&gt;
                            &lt;?php if (class_exists('simple_breadcrumb')) { $bc = new simple_breadcrumb; } ?&gt;
                        &lt;/div&gt;
                    &lt;?php }
                }
                ?&gt;
            &lt;/div&gt;&lt;!-- row --&gt;
        &lt;/div&gt;&lt;!-- end breadcrumb place --&gt;
    &lt;?php } else if ( $ht_header_type =='no-title' ) {  } ?&gt;   
        &lt;?php if(is_404()){?&gt;

        &lt;div class="error_page"&gt;
            &lt;div class="row clearfix"&gt;
                &lt;div class="CLE"&gt;
                    &lt;i class="icon_dislike errori"&gt;&lt;/i&gt;
                    &lt;h2 class="tac mtt"&gt; &lt;?php _e("PAGE NOT FOUND", "highthemes");?&gt; &lt;small&gt; &lt;?php _e("The page you are looking for might have been removed.","highthemes");?&gt; &lt;/small&gt;&lt;/h2&gt;
                    &lt;a href="&lt;?php echo home_url();?&gt;" class="tbutton medium"&gt;&lt;span&gt;&lt;i class="icons-arrow-left mi"&gt;&lt;/i&gt; &lt;?php _e("Back To Homepage", "highthemes");?&gt;&lt;/span&gt;&lt;/a&gt;
                &lt;/div&gt;
            &lt;/div&gt;&lt;!-- row --&gt;
        &lt;/div&gt;&lt;!-- end 404 place --&gt;
        &lt;?php }?&gt;

        &lt;?php 
        if( is_single() &amp;&amp; get_post_type() == 'portfolio' ) { 
            $portfolio_single_layout = get_post_meta( get_the_ID(), '_ht_portfolio_single_layout', true);
            if($portfolio_single_layout == 'image_left' || $portfolio_single_layout == 'image_right'){
        ?&gt; 
            &lt;div  class="hidden-x page-content no-sidebar"&gt;
            &lt;?php } else { ?&gt;
            &lt;div  class="hidden-x page-content &lt;?php echo ht_sidebar_layout();?&gt;"&gt;
            &lt;?php }?&gt;

        &lt;?php } else {?&gt;
        &lt;div  class="hidden-x page-content &lt;?php echo ht_sidebar_layout();?&gt; "&gt;
        &lt;?php }?&gt;
</code></pre>