delicacy_enqueue_css

The Evolved delicacy enqueue css function.

Description

delicacy_enqueue_css(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function delicacy_enqueue_css() 
  2. wp_enqueue_style('style', get_stylesheet_uri()); 
  3. if(of_get_option('color_scheme') && of_get_option('color_scheme') != 'red') { 
  4. wp_register_style('color_scheme', get_template_directory_uri() . '/images/' . of_get_option('color_scheme', 'red') . '/style.css'); 
  5. wp_enqueue_style('color_scheme'); 
  6. if (is_home()) { 
  7. wp_register_style('nivo_css', get_template_directory_uri() . '/js/nivo-slider/nivo-slider.css'); 
  8. wp_enqueue_style('nivo_css'); 
  9. if(of_get_option('slider_type') == '1') { 
  10. wp_register_style('nivo_default_css', get_template_directory_uri() . '/js/nivo-slider/nivo-default.css'); 
  11. wp_enqueue_style('nivo_default_css'); 
  12. }else { 
  13. wp_register_style('nivo_thumb_css', get_template_directory_uri() . '/js/nivo-slider/nivo-thumbnails.css'); 
  14. wp_enqueue_style('nivo_thumb_css');