Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created July 16, 2013 17:39
Show Gist options
  • Save jameskoster/6010878 to your computer and use it in GitHub Desktop.
Save jameskoster/6010878 to your computer and use it in GitHub Desktop.
Highwind - Add your own header image
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
}
@ld1975
Copy link

ld1975 commented Mar 21, 2014

Ive create a child-theme for the highwind template. in the child-theme folder I´ve a folder named "images". in this folder Ive 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 ist
must the picture have a special size? you can see the workarea here http://work.andrea-fleuchaus-stuttgart.de/

@amitdave81
Copy link

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