'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); ?>
  • id="comment-">

    @

    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Supposedly Clean 1.0 */ function supposedly_clean_wp_title( $title, $sep ) { global $page, $paged; if ( is_feed() ) return $title; // Add the blog name $title .= get_bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) $title .= " $sep $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) $title .= " $sep " . sprintf( __( 'Page %s', 'supposedly-clean' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'supposedly_clean_wp_title', 10, 2 ); function supposedly_clean_add_theme_page() { add_theme_page( __( 'Theme Options', 'supposedly-clean' ), __( 'Theme Options', 'supposedly-clean' ), 'edit_theme_options', 'theme_options', 'supposedly_clean_theme_options_page' ); } add_action( 'admin_menu', 'supposedly_clean_add_theme_page' ); function supposedly_clean_theme_options_page() { ?>

    ' . __( 'Options successfully stored', 'supposedly-clean' ) . '

    '; } ?>


    Color theme: