'ffffff', 'text' => '333333', 'link' => 'da1071', 'border' => 'cccccc', 'url' => '0d78b6', ); $content_width = 500; // actually 503 add_theme_support( 'print-style' ); function unsleepable_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', 'unsleepable_body_classes' ); // Make theme available for translation // Translations can be filed in the /languages/ directory load_theme_textdomain( 'unsleepable', get_template_directory() . '/languages' ); /* blast you red baron! */ require_once (ABSPATH . WPINC . '/class-snoopy.php' ); // WordPress Wigets if (function_exists( 'register_sidebar' )) register_sidebar(array( 'before_widget' => '
  • ','after_widget' => '
  • ', 'name' => __( 'Main Sidebar', 'unsleepable' ), 'id' => 'main-sidebar' )); if (function_exists( 'register_sidebar' )) register_sidebar(array( 'before_widget' => '
    ','after_widget' => '
    ', 'before_title' => '

    ', 'after_title' => '

    ', 'name' => __( 'Bottom Bar', 'unsleepable' ), 'id' => 'bottom-bar' )); add_theme_support( 'automatic-feed-links' ); add_custom_background(); register_nav_menus( array( 'primary' => __( 'Primary Navigation' ), ) ); function unsleepable_page_menu() { // fallback for primary navigation ?> comment_type)) return $trackbacktxt; elseif (preg_match('|pingback|', $comment->comment_type)) return $pingbacktxt; else return $commenttxt; } function unsleepable_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $count_pings; extract($args, EXTR_SKIP); ?>
  • id="comment-">
    ','',''); } ?>
    comment_approved == '0') : ?>

    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
  • id="comment-">
  • tag based on what is being viewed. * * @since Unsleepable 1.0 */ function unsleepable_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', 'unsleepable' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'unsleepable_wp_title', 10, 2 );