Created
July 16, 2013 17:39
-
-
Save jameskoster/6010878 to your computer and use it in GitHub Desktop.
Highwind - Add your own header image
This file contains 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
add_action( 'highwind_site_title_link', 'jk_custom_header_image' ); | |
function jk_custom_header_image() { | |
?> | |
<img src="path/to/your/image.png" class="avatar" /> | |
<?php | |
} |
Adding the above code snippet in functions.php adds the image but doesn't remove the existing img tag. Better is to add and avatar plugin and then add the picture.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I
ve create a child-theme for the highwind template. in the child-theme folder I´ve a folder named "images". in this folder I
ve the avatar picture. I change the functions.php as you write above, and I save the functions.php in the child-theme folder. but the picture don`t disapear. My path istmust the picture have a special size? you can see the workarea here http://work.andrea-fleuchaus-stuttgart.de/