'ffffff', 'text' => '555555', 'link' => '557799', 'border' => 'C8A799', 'url' => '8FB1D3' ); $content_width = 460; add_theme_support( 'print-style' ); function ambiru_body_classes( $classes ) { // Remove body classes that conflict with legacy CSS $classes = array_merge( array_diff( $classes, array( 'attachment' ) ) ); return $classes; } add_filter( 'body_class', 'ambiru_body_classes' ); /** * Enqueue scripts and styles */ function ambiru_scripts() { wp_enqueue_style( 'ambiru', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'ambiru_scripts' ); register_sidebar( array( 'name' => __('Footer 1'), 'id' => 'bottom-1', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

' ) ); register_sidebar( array( 'name' => __('Footer 2'), 'id' => 'bottom-2', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

' ) ); function ambiru_admin_header_style() { ?> __( 'Primary Navigation', 'ambiru' ), ) ); function ambiru_page_menu() { // fallback for primary navigation ?>
  • id="comment-">
    comment_approved == '0') : ?>
    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Ambiru 1.0 */ function ambiru_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', 'ambiru' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'ambiru_wp_title', 10, 2 ); /* * Load Jetpack compatibility file. */ require( get_template_directory() . '/inc/jetpack.php' );