public/wordpress/wp-content/themes/sensible-wp/inc/custom-header.php
/**
 * Custom header image markup displayed on the Appearance > Header admin panel.
 *
 * @see sensiblewp_custom_header_setup().
 */
Custom header image markup displayed on the Appearance > Header admin panel.
Custom header image markup displayed on the Appearance > Header admin panel .
function sensiblewp_admin_header_image() {
	$style = sprintf( ' style="color:#%s;"', get_header_textcolor() );
?>
	<div id="headimg">
		<h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
		<div class="displaying-header-text" id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div>
		<?php if ( get_header_image() ) : ?>
		<img src="<?php header_image(); ?>" alt="">
		<?php endif; ?>
	</div>
<?php
}
function sensiblewp_admin_header_image ( ) { $ style = sprintf ( ' style="color:#%s;"' , get_header_textcolor ( ) ) ; ?> <div id="headimg">
		<h1 class="displaying-header-text"><a id="name" <?php echo $ style ; ?> onclick="return false;" href=" <?php echo esc_url ( home_url ( '/' ) ) ; ?> "> <?php bloginfo ( 'name' ) ; ?> </a></h1>
		<div class="displaying-header-text" id="desc" <?php echo $ style ; ?> > <?php bloginfo ( 'description' ) ; ?> </div>
		 <?php if ( get_header_image ( ) ) : ?> <img src=" <?php header_image ( ) ; ?> " alt="">
		 <?php endif ; ?> </div>
 <?php }
Custom header image markup displayed on the Appearance > Header admin panel.
Custom header image markup displayed on the Appearance > Header admin panel .