Last active
December 15, 2015 05:58
-
-
Save braddalton/5212506 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wpsites_image_before_title() { | |
if(is_page() ) | |
echo '<div class="header-banner"><img src="http://example.com/url/to/image.jpg" alt="header banner" /></div>'; | |
} | |
add_action('genesis_before_post_title', 'wpsites_image_before_title'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment