Skip to content

Instantly share code, notes, and snippets.

@kharissulistiyo
Created August 20, 2016 17:05
Show Gist options
  • Save kharissulistiyo/dce6e1f9f42e614caede94dc96bf9ccf to your computer and use it in GitHub Desktop.
Save kharissulistiyo/dce6e1f9f42e614caede94dc96bf9ccf to your computer and use it in GitHub Desktop.
Sydney logo
<?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>
<?php else : ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment