'sidebar-left', ) ); register_sidebar( array( // sidebar center 'name' => 'sidebar-center', ) ); register_sidebar( array( // sidebar right 'name' => 'sidebar-right', ) ); add_theme_support('post-thumbnails'); set_post_thumbnail_size(166, 124, TRUE); if ( ! isset( $content_width ) ) $content_width = 960; add_theme_support( 'custom-background' ); // background $defaults = array( // background 'default-color' => '', 'default-image' => '', 'wp-head-callback' => '_custom_background_cb', 'admin-head-callback' => '', 'admin-preview-callback' => '' ); function true_style_frontend() { wp_enqueue_style( 'style', get_stylesheet_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'true_style_frontend' ); add_theme_support( 'custom-background', $defaults ); // background add_theme_support( 'automatic-feed-links' ); function blackpaper_wp_title( $title, $sep ) { global $paged, $page; if ( is_feed() ) return $title; $title .= get_bloginfo( 'name' ); $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) $title = "$title $sep $site_description"; if ( $paged >= 2 || $page >= 2 ) $title = "$title $sep " . sprintf( __( 'Page %s', 'blackpaper' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'blackpaper_wp_title', 10, 2 ); if ( is_singular() ) wp_enqueue_script( "comment-reply" ); $args = array( 'before' => '

' . __('Pages:'), 'after' => '

', 'link_before' => '', 'link_after' => '', 'next_or_number' => 'number', 'nextpagelink' => __('Next page'), 'previouspagelink' => __('Previous page'), 'pagelink' => '%', 'echo' => 1 ); function new_excerpt_more( $more ) {return ' Read More';} add_filter( 'excerpt_more', 'new_excerpt_more' ); ?>