Last active
December 24, 2015 19:19
-
-
Save scottnix/6849523 to your computer and use it in GitHub Desktop.
Change Thematic Blog Title to Logo or Image
This file contains 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
// replace the site title text with an image that links back to homepage, usually for logos | |
function childtheme_override_blogtitle() { | |
?> | |
<div id="blog-title" class="site-title"> | |
<span> | |
<a href="<?php echo home_url() ?>/" title="<?php bloginfo('name') ?>" rel="home"> | |
<img src="http://placekitten.com/100/100" alt="<?php bloginfo('name') ?>" /> | |
</a> | |
</span> | |
</div> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment