Skip to content

Instantly share code, notes, and snippets.

@tlongren
Created April 4, 2014 00:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tlongren/9965432 to your computer and use it in GitHub Desktop.
RootDip WordPress Theme Static Header Image
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment