Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active December 16, 2015 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save braddalton/5493857 to your computer and use it in GitHub Desktop.
Save braddalton/5493857 to your computer and use it in GitHub Desktop.
function display_image_before_header() {
echo '<div class="before-header">Insert Image HTML Here</div>';
};
/***
* @author Brad Dalton - WP Sites
* @link http://wpsites.net/
***/
add_action('genesis_before_header', 'display_image_before_header');
//Or use this code if you want your image outside of the header area
function display_image_before_header() {
echo '<div class="before-header">Insert Image HTML Here</div>';
};
/***
* @author Brad Dalton - WP Sites
* @link http://wpsites.net/
***/
add_action('genesis_before', 'display_image_before_header');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment