__( 'Primary Menu', 'blue-river' ), ) ); // Enable support for Post Formats. add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) ); // Setup the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'blue_river_custom_background_args', array( 'default-color' => '17769B', 'default-image' => '', ) ) ); // Enable support for HTML5 markup. add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form', ) ); } endif; // blue_river_setup add_action( 'after_setup_theme', 'blue_river_setup' ); /** * Register widgetized area and update sidebar with default widgets. */ function blue_river_widgets_init() { register_sidebar( array( 'name' => __( 'Sidebar', 'blue-river' ), 'id' => 'sidebar-1', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'blue_river_widgets_init' ); /** * Enqueue scripts and styles. */ function blue_river_scripts() { wp_enqueue_style( 'blue-river-style', get_stylesheet_uri() ); wp_enqueue_style( 'blue-river-open-sans', 'http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600'); wp_enqueue_style( 'blue-river-berkshire-swash', 'http://fonts.googleapis.com/css?family=Berkshire+Swash'); wp_enqueue_script( 'blue-river-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true ); wp_enqueue_script( 'blue-river-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true ); wp_enqueue_script( 'blue-river-shiv', get_template_directory_uri() . '/js/html5shiv.js', array(), true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'blue_river_scripts' ); /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom functions that act independently of the theme templates. */ require get_template_directory() . '/inc/extras.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php';