twentyeleven_color_schemes

Return an array of color schemes registered for Twenty Eleven.

Description

twentyeleven_color_schemes(); 

Usage

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

Defined (1)

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

/inc/theme-options.php  
  1. function twentyeleven_color_schemes() { 
  2. $color_scheme_options = array( 
  3. 'light' => array( 
  4. 'value' => 'light',  
  5. 'label' => __( 'Light', 'twentyeleven' ),  
  6. 'thumbnail' => get_template_directory_uri() . '/inc/images/light.png',  
  7. 'default_link_color' => '#1b8be0',  
  8. ),  
  9. 'dark' => array( 
  10. 'value' => 'dark',  
  11. 'label' => __( 'Dark', 'twentyeleven' ),  
  12. 'thumbnail' => get_template_directory_uri() . '/inc/images/dark.png',  
  13. 'default_link_color' => '#e4741f',  
  14. ),  
  15. ); 
  16.  
  17. return apply_filters( 'twentyeleven_color_schemes', $color_scheme_options );