Created
April 29, 2014 13:54
-
-
Save webplantmedia/11401074 to your computer and use it in GitHub Desktop.
Here is how to change the link in your header for your WP Canvas theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="home-link" href="http://your-domain.com" rel="home"> | |
<?php if ( $logo_image = get_option( WORDPRESSCANVAS_PREFIX . 'logo_image' ) ) : ?> | |
<h1 class="site-logo"> | |
<img src="<?php echo $logo_image; ?>" alt="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>" /> | |
</h1> | |
<?php endif; ?> | |
<?php if ( get_option( WORDPRESSCANVAS_PREFIX . 'show_site_text' ) ) : ?> | |
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> | |
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> | |
<?php endif; ?> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment