array( 'value' => 'daylight', 'label' => __( 'Daylight', 'brand-new-day' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/daylight.png', ), 'nightlight' => array( 'value' => 'nightlight', 'label' => __( 'Nightlight', 'brand-new-day' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/nightlight.png', ), 'winterlight' => array( 'value' => 'winterlight', 'label' => __( 'Winterlight', 'brand-new-day' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/winterlight.png', ), 'autumnlight' => array( 'value' => 'autumnlight', 'label' => __( 'Autumnlight', 'brand-new-day' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/autumnlight.png', ), ); return apply_filters( 'brand_new_day_theme_styles', $theme_style_options ); } /** * Returns an array of sidebar options registered for Brand New Day. */ function brand_new_day_sidebar_options() { $sidebar_options = array( 'right-sidebar' => array( 'value' => 'right-sidebar', 'label' => __( 'Right sidebar', 'brand-new-day' ), ), 'left-sidebar' => array( 'value' => 'left-sidebar', 'label' => __( 'Left sidebar', 'brand-new-day' ), ), 'no-sidebar' => array( 'value' => 'no-sidebar', 'label' => __( 'No sidebar', 'brand-new-day' ), ), ); return apply_filters( 'brand_new_day_sidebar_options', $sidebar_options ); } /** * Returns the default options for Brand New Day. */ function brand_new_day_get_default_theme_options() { $default_theme_options = array( 'theme_style' => 'daylight', 'sidebar_options' => 'right-sidebar', 'remove_search' => 'off', 'simple_blog' => 'off', ); return apply_filters( 'brand_new_day_default_theme_options', $default_theme_options ); } /** * Returns the options array for Twenty Eleven. * * @since Twenty Eleven 1.0 */ function brand_new_day_get_theme_options() { return get_option( 'brand_new_day_theme_options', brand_new_day_get_default_theme_options() ); } /** * Renders the Theme Style setting field. */ function brand_new_day_settings_field_theme_style() { $options = brand_new_day_get_theme_options(); foreach ( brand_new_day_theme_styles() as $style ) { ?>