'fcf7ef', 'border' => '8d0a0a', 'text' => '000000', 'link' => '5984ad', 'url' => 'd84708', ); $content_width = 370; add_theme_support( 'print-style' ); function supposedly_clean_body_classes( $classes ) { // Remove body classes that conflict with legacy CSS $classes = array_merge( array_diff( $classes, array( 'category' ) ) ); return $classes; } add_filter( 'body_class', 'supposedly_clean_body_classes' ); add_theme_support( 'automatic-feed-links' ); // Custom background add_custom_background(); function sc_custom_background() { if ( '' != get_background_color() && '' == get_background_image() ) { ?> __('Sidebar', 'supposedly-clean'), 'id' => 'sidebar', 'before_widget' => '
', 'before_title' => '', 'after_title' => '
' ) ); /* mytheme_about use to print either what the author wrote in his profile (Admin Area, Users page), or a friendly message if nothing has been filled in. */ function mytheme_about() { if (get_the_author_description()) { print get_the_author_description(); } else { print "The author does not say much about himself"; } } /* mytheme_sidebar() Prints css style according to what has been defined in the admin pannel */ function supposedly_clean_sidebar() { $theme_options = get_option( 'theme-supposedly-clean-options' ); if ( isset( $theme_options['floatbar'] ) && 'left' == $theme_options['floatbar'] ) { echo ' /* Menu of the Left */ #mike_content {float: right;padding-right:0;padding-left:15px;} #dooncha_sidebar {float: left;text-align:right;} #dooncha_sidebar ul.nonnavigational li{background-position:203px 1px;padding:0 17px 0 0;} '; } } /* mytheme_theme() Prints css style according to what has been defined in the admin pannel */ function supposedly_clean_theme() { $theme_options = get_option( 'theme-supposedly-clean-options' ); if ( ! isset( $theme_options['colortheme'] ) ) { return; } if ( 'green' == $theme_options['colortheme'] ) { echo ' /* green theme */ #boren_head{background:#8d0a0a url(' . get_bloginfo('template_directory') . '/images/competition_green.gif) no-repeat;} #dooncha_sidebar ul#navigational, #dooncha_sidebar ul.nonnavigational, #author_talk{border-bottom:3px solid #8e9d54;} .sidebar_line{ border-bottom:2px solid #8e9d54!important; border-bottom:3px solid #8e9d54; '; } if ( 'blue' == $theme_options['colortheme'] ) { echo ' /* blue theme */ #boren_head{background:#8d0a0a url(' . get_bloginfo('template_directory') . '/images/competition_blue.gif) no-repeat;} #dooncha_sidebar ul#navigational, #dooncha_sidebar ul.nonnavigational, #author_talk{border-bottom:3px solid #425b82;} .sidebar_line{ border-bottom:2px solid #425b82!important; border-bottom:3px solid #425b82; } '; } } function supposedly_clean_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?>' . __( 'Options successfully stored', 'supposedly-clean' ) . '
— @