Skip to content

Instantly share code, notes, and snippets.

@shaynesanderson-zz
Created May 14, 2013 01:23
Show Gist options
  • Save shaynesanderson-zz/5572921 to your computer and use it in GitHub Desktop.
Save shaynesanderson-zz/5572921 to your computer and use it in GitHub Desktop.
Genesis custom header
<?php
remove_action('genesis_header', 'genesis_do_header');
add_action('genesis_header', 'custom_header');
function custom_header() {
?>
<div id="logo">
<a href="<?php echo get_bloginfo('url'); ?>"><img src="<?php echo CHILD_URL.'/images/logo.png'; ?>" width="250" height="290" alt="" /></a>
</div>
<div id="header-right">
<a href="#"><img src="<?php echo CHILD_URL; ?>/images/header_default.jpg" alt="" /></a>
</div>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment