'ffffff', 'text' => '000000', 'link' => 'cc6600', 'border' => '2b658b', 'url' => 'ff9900', ); $content_width = 450; add_theme_support( 'automatic-feed-links' ); // Custom background add_custom_background(); add_theme_support( 'print-style' ); function sapphire_custom_background() { if ( '' != get_background_color() && '' == get_background_image() ) { ?> '
', 'after_widget' => '
' )); function wp_widget_pages_control() { $options = $newoptions = get_option('widget_pages'); if ( $_POST['pages-submit'] ) { $newoptions['title'] = strip_tags(stripslashes($_POST['pages-title'])); $sortby = stripslashes( $_POST['pages-sortby'] ); if ( in_array( $sortby, array( 'post_title', 'menu_order', 'ID' ) ) ) { $newoptions['sortby'] = $sortby; } else { $newoptions['sortby'] = 'menu_order'; } $newoptions['exclude'] = strip_tags( stripslashes( $_POST['pages-exclude'] ) ); } if ( $options != $newoptions ) { $options = $newoptions; update_option('widget_pages', $options); } $title = esc_attr( $options['title'] ); $exclude = esc_attr( $options['exclude'] ); ?>


'', 'echo' => 0, 'sort_column' => $sortby, 'exclude' => $exclude) ); echo $before_widget; echo $before_title . $title . $after_title; ?>
  • id="comment-">
    comment_approved == '0') : ?>
    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Sapphire 1.0 */ function sapphire_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', 'sapphire' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'sapphire_wp_title', 10, 2 );