'ffffff', 'text' => '222222', 'link' => '006699', 'border' => 'CCCCCC', 'url' => '0099CC', ); $content_width = 426; add_theme_support( 'automatic-feed-links' ); add_custom_background(); if ( function_exists('register_sidebar') ) register_sidebar(); define('HEADER_TEXTCOLOR', 'ffffff'); define('HEADER_IMAGE_WIDTH', 527); define('HEADER_IMAGE_HEIGHT', 273); if (get_theme_mod('dd_colour_scheme') == "Green") define('HEADER_IMAGE', '%s/images/header_green.jpg'); // %s is theme dir uri if (get_theme_mod('dd_colour_scheme') == "Pink") define('HEADER_IMAGE', '%s/images/header_pink.jpg'); // %s is theme dir uri if (get_theme_mod('dd_colour_scheme', 'Blue') == "Blue") define('HEADER_IMAGE', '%s/images/header_blue.jpg'); // %s is theme dir uri if (get_theme_mod('dd_colour_scheme') == "Grey") define('HEADER_IMAGE', '%s/images/matt-bus-grey.jpg'); // %s is theme dir uri /** * Enqueue scripts and styles */ function daydream_scripts() { wp_enqueue_style( 'daydream', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'daydream_scripts' ); /** * Enqueue different color scheme and custom header styles */ function daydream_custom_styles() { ?>

/> Left Align (default)
/> Centre
/> Right Align

Colour Schemes

cat_name = $category->cat_name; if (1 < $i && $i != $n) $thelist .= $normal_separator; if (1 < $i && $i == $n) $thelist .= $penultimate_separator; $thelist .= 'cat_name) . '">'.$category->cat_name.''; ++$i; } return apply_filters('the_category', $thelist, $normal_separator); } // Navigation menu register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'daydream' ) ) ); // Fallback for primary navigation function daydream_page_menu() { ?>
  • id="comment-">
    comment_approved == '0') : ?>

    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Day Dream 1.4 */ function daydream_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', 'daydream' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'daydream_wp_title', 10, 2 );