advantage_custom_css

The Advantage advantage custom css function.

Description

advantage_custom_css(); 

Usage

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

Defined (1)

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

/inc/lib-functions.php  
  1. function advantage_custom_css() { 
  2. global $advantage_options, $advantage_fonts; 
  3. // Inpage CSS 
  4. echo '<!-- Custom CSS Styles -->' . "\n"; 
  5. echo '<style type="text/css" media="screen">' . "\n"; 
  6. if ( ! empty($advantage_options['advantage_scheme_css'] ) ) 
  7. echo $advantage_options['advantage_scheme_css'] . "\n"; 
  8. if ( ! empty($advantage_options['advantage_inline_css'] ) ) 
  9. echo $advantage_options['advantage_inline_css'] . "\n"; 
  10. echo '</style>' . "\n";