twentyeleven_get_default_theme_options

Return the default options for Twenty Eleven.

Description

twentyeleven_get_default_theme_options(); 

Usage

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

Defined (1)

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

/inc/theme-options.php  
  1. function twentyeleven_get_default_theme_options() { 
  2. $default_theme_options = array( 
  3. 'color_scheme' => 'light',  
  4. 'link_color' => twentyeleven_get_default_link_color( 'light' ),  
  5. 'theme_layout' => 'content-sidebar',  
  6. ); 
  7.  
  8. if ( is_rtl() ) 
  9. $default_theme_options['theme_layout'] = 'sidebar-content'; 
  10.  
  11. return apply_filters( 'twentyeleven_default_theme_options', $default_theme_options );