id == $babylog_options_hook ) { //Store Theme Options tab in variable $theme_options_content = '
' . __( 'For basic support, please post in the WordPress forums.', 'babylog' ) . '
'; $theme_options_content .= '' . __( 'Color Scheme', 'babylog' ) . ' - ' . __( 'This is where you can choose the overall look and feel of your blog. Defaults to Purple.', 'babylog' ) . '
'; $theme_options_content .= '' . __( 'Skin Tone', 'babylog' ) . ' - ' . __( 'Choose the skin tone that most closely matches your child\'s. A preview will be shown to the right. Defaults to Medium.', 'babylog' ) . '
'; $theme_options_content .= '' . __( 'Hair Color', 'babylog' ) . ' - ' . __( 'Choose the hair color that most closely matches your child\'s. A preview will be shown to the right. Defaults to Brown.', 'babylog' ) . '
'; $theme_options_content .= '' . __( 'Custom CSS', 'babylog' ) . ' - ' . __( 'You can override the theme\'s default CSS by putting your own code here. It should be in the format:', 'babylog' ) . '
'; $theme_options_content .= ''; $theme_options_content .= '.some-class { width: 100px; }'; $theme_options_content .= '#some-id { background-color: #fff; }
' . __( 'Replacing any classes, ID\'s, etc. with the ones you want to override, and within them the attributes you want to change.', 'babylog' ) . '
'; $theme_options_content .= '' . __( 'Support Caroline Themes/Hide Donate Button', 'babylog' ) . ' - ' . __( 'If you like my themes and find them useful, please donate! Checking the box will hide this information.', 'babylog' ) . '
'; $theme_options_content .= '' . __( 'Visit Caroline Themes for more free WordPress themes!', 'babylog' ) . '
'; $screen->add_help_tab( array ( 'id' => 'babylog-theme-options', 'title' => __( 'Theme Options', 'babylog' ), 'content' => $theme_options_content ) ); } } /** * Create arrays for our theme options */ $bbl_blogcolor_options = array( 'blue' => array( 'value' => 'blue', 'label' => __( 'Blue' , 'babylog' ) ), 'pink' => array( 'value' => 'pink', 'label' => __( 'Pink' , 'babylog' ) ), 'green' => array( 'value' => 'green', 'label' => __( 'Green' , 'babylog' ) ), 'purple' => array( 'value' => 'purple', 'label' => __( 'Purple' , 'babylog' ) ) ); $bbl_skincolor_options = array( 'light' => array( 'value' => 'light', 'label' => __( 'Light' , 'babylog' ) ), 'medium' => array( 'value' => 'medium', 'label' => __( 'Medium' , 'babylog' ) ), 'dark' => array( 'value' => 'dark', 'label' => __( 'Dark' , 'babylog' ) ) ); $bbl_haircolor_options = array( 'brown' => array( 'value' => 'brown', 'label' => __( 'Brown' , 'babylog' ) ), 'black' => array( 'value' => 'black', 'label' => __( 'Black' , 'babylog' ) ), 'blonde' => array( 'value' => 'blonde', 'label' => __( 'Blonde' , 'babylog' ) ), 'red' => array( 'value' => 'red', 'label' => __( 'Red' , 'babylog' ) ) ); /** * Create the options page */ function bbl_theme_options_do_page() { global $bbl_blogcolor_options, $bbl_skincolor_options, $bbl_haircolor_options; if ( ! isset( $_REQUEST['settings-updated'] ) ) $_REQUEST['settings-updated'] = false; ?>