'ML2 Sidebar', 'before_widget' => '
    ', // Removes
  1. 'after_widget' => '
', // Removes 'before_title' => '

', // Replaces

'after_title' => '

', // Replaces )); // End for Widget Settings. // Begin languages settings if (!function_exists ('load_theme_textdomain')) include (ABSPATH.WPINC.'/l10n.php'); load_theme_textdomain ('minimalist2'); // End for languages settings. // Begin remove the CSS of WP-Pagenavi plugin, // you can find the CSS in layout.css file,find /* Hack for WP-PageNavi */ remove_action('wp_head', 'pagenavi_css'); // End remove function of WP-Pagenavi // Begin Remove the checkbox of Subscribe to comments, // the codes of the checkbox in the comments.php, find // the CSS in the comments.css, find /* Begin Hack for subscribe-to-comments */ remove_action('comment_form', 'show_subscription_checkbox'); // End remove the function of Subscribe to comments // Begin Remove Generator from header remove_action('wp_head', 'wp_generator'); // Begin AT Theme Settings $themename = "SOLOBIS 2Minimalist"; $shortname = "ML2"; /* General Basic*/ $options = array ( array( "name" => __('Theme Settings','minimalist2'), "type" => "heading"), array( "name" => __('"Paper" design width','minimalist2'), "id" => $shortname."_container_width", "type" => "text", "std" => "75%", "notes" => __('
specify either "%" or "px"','minimalist2')), array( "name" => __('Background (behind "paper" design). Choose EITHER a color or an image.','minimalist2'), "type" => "subheading", "notes" => __('Choose EITHER a color or an image.','minimalist2')), array( "name" => __('Color','minimalist2'), "id" => $shortname."_body_bgcolor", "type" => "text", "std" => "#FFFFFF", "notes" => ""), array( "name" => __('Background image URL','minimalist2'), "id" => $shortname."_body_bgimg", "type" => "longtext", "std" => "", "notes" => ""), array( "name" => __('Repeat background image?','minimalist2'), "id" => $shortname."_body_bgimg_repeat", "type" => "select", "std" => "repeat", "options" => array("repeat", "no-repeat", "repeat-x", "repeat-y"), "notes" => ""), array( "name" => __('Background image position','minimalist2'), "id" => $shortname."_body_bg_position", "type" => "select", "std" => "left top", "options" => array("left top", "left bottom","left center","right top","right bottom","right center","center center","center top","center bottom"), "notes" => ""), array( "name" => __('Scroll background image?','minimalist2'), "id" => $shortname."_body_bgimg_scroll", "type" => "select", "std" => "scroll", "options" => array("scroll","fixed"), "notes" => ""), array( "name" => __('General font family','minimalist2'), "id" => $shortname."_basic_font", "type" => "select", "std" => "Verdana, Arial, Helvetica, sans-serif", "options" => array("Verdana, Arial, Helvetica, sans-serif", "Arial, Helvetica, sans-serif", "Georgia, 'Times New Roman', serif","'Lucida Grande',sans-serif"), "notes" => ""), array( "name" => __('General font color','minimalist2'), "id" => $shortname."_basic_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('General link color (normal)','minimalist2'), "id" => $shortname."_basic_link_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('General link color (mouse-over)','minimalist2'), "id" => $shortname."_basic_link_hover_color", "type" => "text", "std" => "#0000FF", "notes" => ""), /* Header */ array( "name" => __('Header','minimalist2'), "type" => "heading"), array( "name" => __('Blog name font family','minimalist2'), "id" => $shortname."_blogname_font", "type" => "select", "std" => "Georgia, 'Times New Roman', Times, serif", "options" => array("Verdana, Arial, Helvetica, sans-serif", "'Trebuchet MS', Arial, Helvetica", "Arial, Helvetica, sans-serif", "Georgia, 'Times New Roman', serif","'Lucida Grande',sans-serif"), "notes" => ""), array( "name" => __('Link color (normal)','minimalist2'), "id" => $shortname."_header_link_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Link color (mouse-over)','minimalist2'), "id" => $shortname."_header_link_hover_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Blog name font size','minimalist2'), "id" => $shortname."_blogname_size", "type" => "text", "std" => "35px", "notes" => ""), array( "name" => __('Slogan color','minimalist2'), "id" => $shortname."_header_dfn_color", "type" => "text", "std" => "#666666", "notes" => ""), array( "name" => __('Slogan font size','minimalist2'), "id" => $shortname."_header_dfn_size", "type" => "text", "std" => "16px", "notes" => ""), /* Sidebar */ array( "name" => __('Sidebar','minimalist2'), "type" => "heading"), array( "name" => __('Background color','minimalist2'), "id" => $shortname."_sidebar_bgcolor", "type" => "text", "std" => "#FFFFFF", "notes" => ""), array( "name" => __('Left border color','minimalist2'), "id" => $shortname."_sidebar_border_left_color", "type" => "text", "std" => "#999999 1px solid", "notes" => ""), array( "name" => __('Font color','minimalist2'), "id" => $shortname."_sidebar_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Heading font color','minimalist2'), "id" => $shortname."_sidebar_h2_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Heading background color','minimalist2'), "id" => $shortname."_sidebar_h2_bgcolor", "type" => "text", "std" => "", "notes" => ""), array( "name" => __('Heading Font Size','minimalist2'), "id" => $shortname."_sidebar_h2_size", "type" => "text", "std" => "16px", "notes" => ""), array( "name" => __('Heading link color (normal)','minimalist2'), "id" => $shortname."_sidebar_h2_link_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Heading link color (mouse-over)','minimalist2'), "id" => $shortname."_sidebar_h2_link_hover_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Link color (normal)','minimalist2'), "id" => $shortname."_sidebar_link_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Link color (mouse-over)','minimalist2'), "id" => $shortname."_sidebar_link_hover_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('List link color (normal)','minimalist2'), "id" => $shortname."_sidebar_li_link_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('List link color (mouse-over)','minimalist2'), "id" => $shortname."_sidebar_li_link_hover_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('List bottom border','minimalist2'), "id" => $shortname."_sidebar_li_bottom_border_color", "type" => "text", "std" => "#999999 0px solid", "notes" => ""), /* Entry */ array( "name" => __('Post','minimalist2'), "type" => "heading"), array( "name" => __('Title border color in sticky posts','minimalist2'), "id" => $shortname."_sticky_entry_name_border_color", "type" => "text", "std" => "#999999 2px solid", "notes" => ""), array( "name" => __('Title font size','minimalist2'), "id" => $shortname."_entry_title_font_size", "type" => "text", "std" => "18px", "notes" => ""), array( "name" => __('Title background color','minimalist2'), "id" => $shortname."_entry_title_bgcolor", "type" => "text", "std" => "", "notes" => ""), array( "name" => __('Title link color (normal)','minimalist2'), "id" => $shortname."_entry_title_link_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Title link color (mouse-over)','minimalist2'), "id" => $shortname."_entry_title_link_hover_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Content background color','minimalist2'), "id" => $shortname."_entry_content_bgcolor", "type" => "text", "std" => "#FFFFFF", "notes" => ""), array( "name" => __('Content font color','minimalist2'), "id" => $shortname."_entry_content_font_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Link color in post content','minimalist2'), "id" => $shortname."_link_color_entry", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Link color on mouse-over in content','minimalist2'), "id" => $shortname."_link_hover_color_entry", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Content font size','minimalist2'), "id" => $shortname."_entry_content_font_size", "type" => "text", "std" => "11px", "notes" => ""), /* Entry Meta Data */ array( "name" => __('Post Details','minimalist2'), "type" => "heading"), array( "name" => __('Font color','minimalist2'), "id" => $shortname."_entry_meta_font_color", "type" => "text", "std" => "#999999", "notes" => ""), array( "name" => __('Link color (normal)','minimalist2'), "id" => $shortname."_entry_meta_link_color", "type" => "text", "std" => "#999999", "notes" => ""), array( "name" => __('Link color (mouse-over)','minimalist2'), "id" => $shortname."_entry_meta_link_hover_color", "type" => "text", "std" => "#999999", "notes" => ""), /* Comments */ array( "name" => __('Comments','minimalist2'), "type" => "heading"), array( "name" => __('Background color (Blog Owner)','minimalist2'), "id" => $shortname."_comments_bgcolor_blogowner", "type" => "text", "std" => "#CCCCCC", "notes" => ""), array( "name" => __('Background color (Commentator)','minimalist2'), "id" => $shortname."_comments_bgcolor_guest", "type" => "text", "std" => "#FFFFFF", "notes" => ""), array( "name" => __('Author data font color','minimalist2'), "id" => $shortname."_comment_author_data_font_color", "type" => "text", "std" => "#999999", "notes" => ""), array( "name" => __('Form field normal background color','minimalist2'), "id" => $shortname."_comment_form_textarea_bgcolor", "type" => "text", "std" => "#EEEEEE", "notes" => ""), array( "name" => __('Form field focused background color','minimalist2'), "id" => $shortname."_cff_color", "type" => "text", "std" => "#999999", "notes" => ""), array( "name" => __('Border color of comment form and textarea color','minimalist2'), "id" => $shortname."_comments_form_text_border_color", "type" => "text", "std" => "#666666 1px solid", "notes" => ""), array( "name" => __('Guidelines background color','minimalist2'), "id" => $shortname."_comments_guidelines_info_bgcolor", "type" => "text", "std" => "#EFEFEF", "notes" => ""), array( "name" => __('Guidelines font color','minimalist2'), "id" => $shortname."_comments_guidelines_info_font_color", "type" => "text", "std" => "#000000", "notes" => ""), /* Nav */ array( "name" => __('Navigation Links','minimalist2'), "type" => "heading"), array( "name" => __('Background color','minimalist2'), "id" => $shortname."_content_nav_bgcolor", "type" => "text", "std" => "#FFFFFF", "notes" => ""), array( "name" => __('Font color','minimalist2'), "id" => $shortname."_content_nav_font_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Font size','minimalist2'), "id" => $shortname."_content_nav_font_size", "type" => "text", "std" => "14px", "notes" => ""), array( "name" => __('Border color','minimalist2'), "id" => $shortname."_content_nav_border_color", "type" => "text", "std" => "#EEEEEE 0px solid", "notes" => ""), array( "name" => __('Normal link color:','minimalist2'), "id" => $shortname."_content_nav_link_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Mouse-over link color','minimalist2'), "id" => $shortname."_content_nav_link_hover_color", "type" => "text", "std" => "#0000FF", "notes" => ""), /* Footer */ array( "name" => __('Footer','minimalist2'), "type" => "heading"), array( "name" => __('Font color','minimalist2'), "id" => $shortname."_fc_color", "type" => "text", "std" => "#000000", "notes" => ""), array( "name" => __('Link color (normal)','minimalist2'), "id" => $shortname."_fl_color", "type" => "text", "std" => "#0000FF", "notes" => ""), array( "name" => __('Link color (mouse-over)','minimalist2'), "id" => $shortname."_fh_color", "type" => "text", "std" => "#0000FF", "notes" => ""), ); function mytheme_add_admin() { global $themename, $shortname, $options; if ($_GET['page'] == basename(__FILE__)) { if ('save' == $_REQUEST['action']) { foreach ($options as $value) { update_option($value['id'], $_REQUEST[$value['id']]); } foreach ($options as $value) { if (isset($_REQUEST[$value['id']])) { update_option($value['id'], $_REQUEST[$value['id']]); } else { delete_option($value['id']); } } header("Location: themes.php?page=functions.php&saved=true"); die; } else if ('reset' == $_REQUEST['action']) { foreach ($options as $value) { delete_option($value['id']); } header("Location: themes.php?page=functions.php&reset=true"); die; } } add_theme_page($themename." Options", $themename." Options", 'edit_themes', basename(__FILE__), 'mytheme_admin'); } function mytheme_admin() { global $themename, $shortname, $options; if ($_REQUEST['saved']) echo '

'.$themename. __(' settings saved.','minimalist2'),'

'; if ($_REQUEST['reset']) echo '

'.$themename. __(' settings reset.','minimalist2'),'

'; ?>

HTML Color Codes.

  "; } ?>

: " />
: " size="30"/>
: