skt_pathway_admin_header_image

Custom header image markup displayed on the Appearance > Header admin panel.

Description

skt_pathway_admin_header_image(); 

Usage

  1. if ( !function_exists( 'skt_pathway_admin_header_image' ) ) { 
  2. require_once '/inc/custom-header.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = skt_pathway_admin_header_image(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/custom-header.php  
  1. function skt_pathway_admin_header_image() { 
  2. $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); 
  3. ?> 
  4. <div id="headimg"> 
  5. <?php if ( get_header_image() ) : ?> 
  6. <img src="<?php header_image(); ?>" alt=""> 
  7. <?php endif; ?> 
  8. </div> 
  9. <?php