skt_pathway_header_style

Styles the header image and text displayed on the blog.

Description

skt_pathway_header_style(); 

Usage

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

Defined (1)

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

/inc/custom-header.php  
  1. function skt_pathway_header_style() { 
  2. $header_text_color = get_header_textcolor(); 
  3. ?> 
  4. <style type="text/css"> 
  5. <?php 
  6. //Check if user has defined any header image. 
  7. if ( get_header_image() ) : 
  8. ?> 
  9. .header { 
  10. background: url(<?php echo get_header_image(); ?>) no-repeat #fff; 
  11. background-position: center top; 
  12. <?php endif; ?>  
  13. </style> 
  14. <?php