get_template_directory_uri() . '/images/header.jpg', 'default-text-color' => 'ffffff', 'uploads' => true, 'flex-height' => true, 'flex-width' => true, 'width' => 1920, 'height' => 1200, 'wp-head-callback' => 'aaron_customize_css', 'admin-head-callback' => '', 'admin-preview-callback' => '', ) ) ); register_default_headers( array( 'mountain' => array( 'url' => '%s/images/header.jpg', 'thumbnail_url' => '%s/images/header.jpg', 'description' => __( 'Mountain', 'aaron' ), ), ) ); } add_action( 'after_setup_theme', 'aaron_custom_header_setup' ); function aaron_featured_image_header_css() { /* Are we displaying the featured image or the regular background? */ if ( is_home() ) { $postid = get_option( 'page_for_posts' ); } else { $postid = get_the_ID(); } $header_image = get_header_image(); $featured_header = wp_get_attachment_image_src( get_post_thumbnail_id( $postid ), 'aaron-featured-image-header' ); if ( is_page_template( 'templates/landingpage.php' ) ) { if ( $featured_header ) { ?> html { background: url() no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } html { background: url() no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } html { background: ; } body {background:none;} .site-header { background: url() ; background-size: ; } .site-header { background: url() ; background-size: ; } .site-header { background: url() ; background-size: ; } '; if ( get_theme_mod( 'aaron_action_link' ) ) { echo ''; } echo wp_kses_post( get_theme_mod( 'aaron_action_text' ) ); if ( get_theme_mod( 'aaron_action_link' ) ) { echo ''; } echo ''; } elseif ( current_user_can( 'edit_theme_options' ) ) { echo '