optionsframework_load_styles

Loads the CSS.

Description

optionsframework_load_styles(); 

Usage

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

Defined (1)

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

/inc/options-framework.php  
  1. function optionsframework_load_styles() { 
  2. wp_enqueue_style( 'optionsframework', OPTIONS_FRAMEWORK_DIRECTORY.'css/optionsframework.css' ); 
  3. if ( !wp_style_is( 'wp-color-picker', 'registered' ) ) { 
  4. wp_register_style( 'wp-color-picker', OPTIONS_FRAMEWORK_DIRECTORY.'css/color-picker.min.css' ); 
  5. wp_enqueue_style( 'wp-color-picker' );