' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, BirdTIPS, provides the following Theme Options:', 'BirdTIPS' ) . '

' . '
    ' . '
  1. ' . __( 'Link Color: You can choose the color used for text links on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the "Select a Color" button to pick from a color wheel.', 'BirdTIPS' ) . '
  2. ' . '
  3. ' . __( 'Article Title Color: You can choose the color used for article titles on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the "Select a Color" button to pick from a color wheel.', 'BirdTIPS' ) . '
  4. ' . '
  5. ' . __( 'Navigation Color: You can choose the color used for navigation menu on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the "Select a Color" button to pick from a color wheel.', 'BirdTIPS' ) . '
  6. ' . '
' . '

' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'BirdTIPS' ) . '

' . '

' . __( 'For more information:', 'BirdTIPS' ) . '

' . '

' . __( 'Documentation on Theme Options', 'BirdTIPS' ) . '

' . '

' . __( 'Support Forums', 'BirdTIPS' ) . '

'; add_contextual_help( $theme_page, $help ); } add_action( 'admin_menu', 'BirdTIPS_theme_options_add_page' ); /** * Returns an array of color schemes registered for Twenty Eleven. * * @since Twenty Eleven 1.0 */ function BirdTIPS_color_schemes() { $color_scheme_options = array( 'default_link_color' => '#0066aa', 'default_article_title_color' => '#dd6633', 'default_navigation_color' => '#cccccc' ); return apply_filters( 'BirdTIPS_color_schemes', $color_scheme_options ); } /** * Returns the default options for BirdTIPS. * * @since BirdTIPS 1.0 */ function BirdTIPS_get_default_theme_options() { $default_theme_options = array( 'link_color' => BirdTIPS_get_default_link_color(), 'article_title_color' => BirdTIPS_get_default_article_title_color(), 'navigation_color' => BirdTIPS_get_default_navigation_color() ); return apply_filters( 'BirdTIPS_default_theme_options', $default_theme_options ); } /** * Returns the default link color for BirdTIPS, based on color scheme. * * @since BirdTIPS 1.0 * * @param $string $color_scheme Color scheme. Defaults to the active color scheme. * @return $string Color. */ function BirdTIPS_get_default_link_color() { $color_schemes = BirdTIPS_color_schemes(); return $color_schemes['default_link_color']; } /** * Returns the default navigation color for BirdTIPS, based on color scheme. * * @since BirdTIPS 1.0 * * @param $string $color_scheme Color scheme. Defaults to the active color scheme. * @return $string Color. */ function BirdTIPS_get_default_navigation_color() { $color_schemes = BirdTIPS_color_schemes(); return $color_schemes['default_navigation_color']; } /** * Returns the default article title color for BirdTIPS, based on color scheme. * * @since BirdTIPS 1.0 * * @param $string $color_scheme Color scheme. Defaults to the active color scheme. * @return $string Color. */ function BirdTIPS_get_default_article_title_color() { $color_schemes = BirdTIPS_color_schemes(); return $color_schemes['default_article_title_color']; } /** * Returns the options array for BirdTIPS. * * @since BirdTIPS 1.0 */ function BirdTIPS_get_theme_options() { return get_option( 'BirdTIPS_theme_options', BirdTIPS_get_default_theme_options() ); } /** * Returns the options array for BirdTIPS. * * @since BirdTIPS 1.0 */ function theme_options_render_page() { ?>