'ffffff', 'text' => '29303b', 'link' => '909d73', 'border' => 'F3F6ED', 'url' => '676E04', ); $content_width = 510; add_theme_support( 'print-style' ); /** * Enqueue scripts and styles */ function connections_scripts() { wp_enqueue_style( 'connections', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'connections_scripts' ); function connections_body_classes( $classes ) { // Remove body classes that conflict with legacy CSS $classes = array_merge( array_diff( $classes, array( 'page' ) ) ); return $classes; } add_filter( 'body_class', 'connections_body_classes' ); add_theme_support( 'automatic-feed-links' ); define('HEADER_TEXTCOLOR', 'B5C09D'); define('HEADER_IMAGE', '%s/img/just-train.jpg'); // %s is theme dir uri define('HEADER_IMAGE_WIDTH', 741); define('HEADER_IMAGE_HEIGHT', 142); function header_style() { ?> __( 'Primary Navigation' ), ) ); function connections_page_menu() { // fallback for primary navigation ?>
  • id="comment-">
    %s Says:'), get_comment_author_link()) ?>
    comment_approved == '0') : ?>
    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Connections 1.0 */ function connections_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', 'connections' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'connections_wp_title', 10, 2 );