'ffffff', 'text' => '666666', 'link' => '2089cc', 'border' => '282828', 'url' => 'e2415b', ); add_theme_support( 'automatic-feed-links' ); // Custom background add_theme_support( 'custom-background' ); add_theme_support( 'print-style' ); // Load scripts function theme_scripts_init() { _deprecated_function( __FUNCTION__, '3.0.4', 'monochrome_scripts' ); if (!is_admin()) { // if this isn't the WordPress admin // load jQuery wp_enqueue_script('jquery'); // load theme scripts wp_enqueue_script('jquery_easing', get_template_directory_uri() . '/js/jquery.easing.js', array('jquery')); wp_enqueue_script('theme_scripts', get_template_directory_uri() . '/js/jscript.js', array('jquery')); wp_enqueue_script('comment_scripts', get_template_directory_uri() . '/js/comment.js?1', array('jquery')); } } /** * Enqueue scripts and styles */ function monochrome_scripts() { global $wp_styles; wp_enqueue_style( 'monochrome', get_stylesheet_uri() ); if ( 'ja' == get_locale() ) wp_enqueue_style( 'monochrome-japanese', get_template_directory_uri() . '/japanese.css', array( 'monochrome' ) ); wp_enqueue_style( 'monochrome-ie', get_template_directory_uri() . '/ie6.css', array( 'monochrome' ) ); $wp_styles->add_data( 'monochrome-ie', 'conditional', 'lt IE 7' ); wp_enqueue_script( 'jquery_easing', get_template_directory_uri() . '/js/jquery.easing.js', array( 'jquery' ) ); wp_enqueue_script( 'theme_scripts', get_template_directory_uri() . '/js/jscript.js', array( 'jquery' ) ); wp_enqueue_script( 'comment_scripts', get_template_directory_uri() . '/js/comment.js', array( 'jquery' ) ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'monochrome_scripts' ); register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'monochrome' ), ) ); function monochrome_page_menu() { // fallback for primary navigation ?>

/>




/>


/>
/>


/>


/>
/>




/>


/>


( NOTICE : Return top link does not work on IE6. )', 'monochrome'); ?>

/>



'\n", 'before_title' => '

', 'after_title' => "

\n", )); // Remove [...] from excerpt function trim_excerpt($text) { return rtrim($text,'[...]'); } add_filter('get_the_excerpt', 'trim_excerpt'); function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount; if(!$commentcount) { $commentcount = 0; } ?>
  • id="comment-">
    comment_approved == '0') : ?>
    tag based on what is being viewed. * * @since Monochrome 3.0.4 */ function monochrome_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', 'monochrome' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'monochrome_wp_title', 10, 2 );