'ffffff', 'border' => '666666', 'text' => '333333', 'link' => '105CB6', 'url' => '8DAB3B', ); $content_width = 468; // pixels add_theme_support( 'automatic-feed-links' ); // Custom background add_theme_support( 'custom-background' ); add_theme_support( 'print-style' ); function digg3_custom_background() { if ( '' != get_background_color() && '' == get_background_image() ) { ?> '%s/images/bg_header_img.png', 'default-text-color' => 'fff', 'width' => 904, 'height' => 160, 'flex-height' => true, 'wp-head-callback' => 'digg3_header_style', 'admin-preview-callback' => 'digg3_admin_header_image', ) ) ); // Header navigation menu register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'digg3' ), ) ); /** * Enqueue scripts and styles */ function digg3_scripts() { wp_enqueue_style( 'digg3', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'digg3_scripts' ); function digg3_page_menu() { // fallback for primary navigation ?>
  • id="comment-">
    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Digg3 1.0.2 */ function digg3_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', 'digg3' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'digg3_wp_title', 10, 2 );