Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active December 17, 2015 23:58
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/5693177 to your computer and use it in GitHub Desktop.
Save braddalton/5693177 to your computer and use it in GitHub Desktop.
function add_header_specific_page() {
if(is_page(007) )
echo '<div class="landing-header"><img class="aligncenter size-full wp-image-32533" alt="header" src="http://127.0.0.1:4001/wordpress/wp-content/uploads/2013/06/header1.png" width="1152" height="69" /></div>';
}
/**
* @author Brad Dalton - WP Sites
* @learn more http://wpsites.net
*/
add_action('genesis_header', 'add_header_specific_page');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment