450, 'height' => 281, 'default-image' => get_template_directory_uri() . '/images/blossom.jpg', 'uploads' => true, ); add_theme_support( 'custom-header', $args ); $defaults = array( 'default-color' => '', 'default-image' => '', 'default-repeat' => '', 'default-position-x' => '', 'wp-head-callback' => '_custom_background_cb', 'admin-head-callback' => '', 'admin-preview-callback' => '' ); add_theme_support( 'custom-background', $defaults ); global $content_width; if ( ! isset( $content_width ) ) $content_width = 640; register_nav_menus( array( 'main' => __( 'Main Menu', 'blossom' ) ) ); } add_action( 'wp_enqueue_scripts', 'blossom_load_scripts' ); function blossom_load_scripts() { wp_enqueue_script( 'jquery' ); wp_enqueue_style( 'blossom', get_stylesheet_uri() ); } add_action( 'comment_form_before', 'blossom_enqueue_comment_reply_script' ); function blossom_enqueue_comment_reply_script() { if ( get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_filter( 'the_title', 'blossom_title' ); function blossom_title( $title ) { if ( $title == '' ) { return '→'; } else { return $title; } } add_filter( 'wp_title', 'blossom_filter_wp_title' ); function blossom_filter_wp_title( $title ) { return $title . esc_attr( get_bloginfo( 'name' ) ); } add_action( 'widgets_init', 'blossom_widgets_init' ); function blossom_widgets_init() { { register_sidebar( array ( 'name' => __( 'sidebar', 'blossom' ), 'id' => 'primary-widget-area', 'before_widget' => '