function premise_do_header() { ?> <div id="image-area"> <?php if (premise_get_header_image_url()) { printf('<a href="%s"><img src="%s" alt="" /></a>', premise_get_header_image_url(), premise_get_header_image()); } else { printf('<img src="%s" alt="" />', premise_get_header_image()); } ?> </div><!-- #image-area --> <?php }
?> </title> <?php wp_head(); ?> <?php do_action('premise_immediately_after_head'); ?> </head> <body <?php body_class('full-width-content'); ?> > <div id="wrap"> <?php if (premise_should_have_header_image() && premise_get_header_image()) { ?> <div id="header"> <div class="wrap"> <div id="image-area"> <?php if (premise_get_header_image_url()) { ?> <a href="<?php premise_the_header_image_url(); ?> "><img src="<?php premise_the_header_image(); ?> " alt="" /></a> <?php
function premise_the_header_image($postId = null) { echo apply_filters('premise_the_header_image', premise_get_header_image($postId), $postId); }