array( 'value' => 'light', 'label' => __( 'Light: A minimal design that allows for the crisp presentation of both photography and content.', 'nishita' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/light.png' ), 'dark' => array( 'value' => 'dark', 'label' => __( 'Dark: A dark, minimal color palette that encourages users to focus on photographs.', 'nishita' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/dark.png' ), ); return apply_filters( 'nishita_color_schemes', $color_scheme_options ); } /** * Returns an array of layout options registered for Nishita. * */ function nishita_layouts() { $layout_options = array( 'photoblog' => array( 'value' => 'photoblog', 'label' => __( 'Photoblog: A 1024-pixels wide layout with optional sidebar that allows for the presentation of beautiful, large images.', 'nishita' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/photoblog.png', ), 'blog' => array( 'value' => 'blog', 'label' => __( 'Blog: A slimmer, 768-pixels wide layout with optional sidebar that offers better readability for interesting blog posts.', 'nishita' ), 'thumbnail' => get_template_directory_uri() . '/inc/images/blog.png', ) ); return apply_filters( 'nishita_layouts', $layout_options ); } /** * Returns the default options for Nishita. * */ function nishita_get_default_theme_options() { $default_theme_options = array( 'color_scheme' => 'dark', 'theme_layout' => 'photoblog', ); return apply_filters( 'nishita_default_theme_options', $default_theme_options ); } /** * Returns the options array for Nishita. * */ function nishita_get_theme_options() { return get_option( 'nishita_theme_options', nishita_get_default_theme_options() ); } /** * Returns the options array for Nishita. * */ function nishita_theme_options_render_page() { ?>

Name ); ?>