'f4d0a8', 'border' => 'c2a380', 'text' => '453320', 'link' => '000000', 'url' => 'e50000' ); $content_width = 535; add_theme_support( 'print-style' ); //sidebar widgets if ( function_exists( 'register_sidebar' ) ) { register_sidebar( array( 'name' => __( 'Sidebar', 'koi' ), 'id' => 'sidebar-1', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer 1', 'koi' ), 'id' => 'footer-1', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer 2', 'koi' ), 'id' => 'footer-2', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer 3', 'koi' ), 'id' => 'footer-3', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. */ load_theme_textdomain( 'koi', get_template_directory() . '/languages' ); /** * Enqueue scripts and styles */ function koi_scripts() { wp_enqueue_style( 'koi', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'koi_scripts' ); //custom comment template function koi_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?>
  • id="comment-">

    %s', 'koi' ), get_comment_author_link() ); ?>
    @

    comment_approved == '0' ) : ?>

    'commententry', 'depth' => $depth, 'max_depth' => $args['max_depth']) ) ); ?>

    __( 'Primary Navigation', 'koi' ), ) ); function koi_page_menu() { // fallback for primary navigation ?> '', 'default-text-color' => '6c5c46', 'width' => 980, 'height' => 200, 'wp-head-callback' => 'koi_header_style', 'admin-head-callback' => 'koi_admin_header_style', ) ) ); } add_action( 'after_setup_theme', 'koi_custom_header_setup' ); // Styles for the admin header image function koi_admin_header_style() { ?> tag based on what is being viewed. * * @since Koi 1.1 */ function koi_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', 'koi' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'koi_wp_title', 10, 2 ); // Load theme options require_once( dirname( __FILE__ ) . '/inc/theme-options.php' );