skt_white_custom_head_codes

The SKT White skt white custom head codes function.

Description

skt_white_custom_head_codes(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function skt_white_custom_head_codes() {  
  2. if ( function_exists('of_get_option') ) { 
  3.  
  4. echo "<style>"; 
  5. if ( of_get_option('colorscheme', true) != '' ) { 
  6. echo '.top-bar a, .contact-banner a, input.search-submit, .post-password-form input[type=submit], .icon:hover, .newsletter-form input[type="submit"], .pagination ul li .current, .pagination ul li a:hover{background-color:'. esc_html( of_get_option('colorscheme', '#00a8ff') ) .';}'; 
  7. if( of_get_option('colorscheme', true) != '') { 
  8. echo ".header .header-inner .nav ul li a:hover, .newsletter h2 span, .recent-post li span, .phone-no strong, a{color:".of_get_option('colorscheme', '#00a8ff')."}"; 
  9. if( of_get_option('colorscheme', true) != '') { 
  10. echo ".more:hover{background:".of_get_option('colorscheme', '#00a8ff')." url(".get_template_directory_uri()."/images/white-arrow.png) no-repeat scroll center center}"; 
  11. if ( of_get_option('colorscheme', true) != '' ) { 
  12. echo '.client_banner .client img:hover{border-color:'. esc_html( of_get_option('colorscheme', '#00a8ff') ) .';}'; 
  13.  
  14. echo "</style>";