_s: Add basic custom logo support

See: https://codex.wordpress.org/Theme_Logo

Closes #922
This commit is contained in:
David A. Kennedy 2017-06-26 18:47:12 -04:00
parent f756b98df3
commit 2bef512355
4 changed files with 23 additions and 0 deletions

View file

@ -26,6 +26,7 @@
<header id="masthead" class="site-header">
<div class="site-branding">
<?php
the_custom_logo();
if ( is_front_page() && is_home() ) : ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>