of_head_css

The ColorWay Theme of head css function.

Description

of_head_css(); 

Usage

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

Defined (1)

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

/functions/inkthemes-functions.php  
  1. function of_head_css() { 
  2. $custom_css = get_option('colorway_customcss'); 
  3. if ($custom_css <> '') { 
  4. $output .= $custom_css . "\n"; 
  5.  
  6. // Output styles 
  7. if ($output <> '') { 
  8. $output = "<!-- Custom Styling -->\n<style type=\"text/css\">\n" . $output . "</style>\n"; 
  9. echo $output;