Skip to content

Instantly share code, notes, and snippets.

@kharissulistiyo
Created August 20, 2016 17:07
Show Gist options
  • Save kharissulistiyo/39a69186d43a64f31428c0d0d378a20e to your computer and use it in GitHub Desktop.
Save kharissulistiyo/39a69186d43a64f31428c0d0d378a20e to your computer and use it in GitHub Desktop.
Sydney logo + description
<?php if ( get_theme_mod('site_logo') ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo('name'); ?>"><img class="site-logo" src="<?php echo esc_url(get_theme_mod('site_logo')); ?>" alt="<?php bloginfo('name'); ?>" /></a>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
<?php else : ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment