• Hi

    I need my logo to point to https://www.noshe.co.za.

    How must I edit this code – found on https://corporate.noshe.co.za (independent WordPress installation):

    <div id="header">
    
     		<div class="col-full">
    
    			<div id="logo" class="col-left">
    
    			<?php if (get_option('woo_texttitle') <> "true") : $logo = get_option('woo_logo'); ?>
        	        <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>">
        	            <img src="<?php if ($logo) echo $logo; else { bloginfo('template_directory'); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" />
        	        </a>
        	    <?php endif; ?> 
    
        	    <?php if( is_singular() ) : ?>
        	        <span class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>
        	    <?php else : ?>
        	        <h1 class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
        	    <?php endif; ?>
        	        <span class="site-description"><?php bloginfo('description'); ?></span>
    
    			</div><!-- /#logo -->
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Hardcode it in corporate.noshe.co.za like this:

    <img src="<?php if ($logo) echo $logo; else { bloginfo('template_directory'); ?>/images/logo.png<?php } ?>"

    to this:

    <img src="https://www.noshe.co.za/wp-content/themes/boast/images/logo.png"

    Thread Starter jamaal_jayz

    (@jamaal_jayz)

    Nope, that didn’t work!

    Moderator keesiemeijer

    (@keesiemeijer)

    Oops I mean, change this:

    <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>">

    to this:

    <a href="https://www.noshe.co.za" title="to the power of infinity">

    Thread Starter jamaal_jayz

    (@jamaal_jayz)

    Works like a charm! Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editing code in header.php’ is closed to new replies.