elbee-elgee / includes / functions / headers.php

Diff from to

includes/functions/headers.php

 			define( 'HEADER_IMAGE_HEIGHT', $h_args['height'] );
 	}
 	register_default_headers( array(
+		'fern-crop' => array(
+			'url' => '%s/images/headers/fern-crop.jpg',
+			'thumbnail_url' => '%s/images/headers/fern-crop-thumbnail.jpg',
+			'description' => __( 'Fern', 'lblg' )
+		),
 		'fireworks' => array(
 			'url' => '%s/images/headers/fireworks.jpg',
 			'thumbnail_url' => '%s/images/headers/fireworks-thumbnail.jpg',
-			'description' => 'Fireworks'
+			'description' => __( 'Fireworks', 'lblg' )
+		),
+		'flowers' => array(
+			'url' => '%s/images/headers/flowers.jpg',
+			'thumbnail_url' => '%s/images/headers/flowers-thumbnail.jpg',
+			'description' => __( 'Flowers', 'lblg' )
+		),
+		'ivy' => array(
+			'url' => '%s/images/headers/ivy.jpg',
+			'thumbnail_url' => '%s/images/headers/ivy-thumbnail.jpg',
+			'description' => __( 'Just plain ivy', 'lblg' )
 		),
 		'ivy_in_winter' => array(
 			'url' => '%s/images/headers/ivy_in_winter.jpg',
 			'thumbnail_url' => '%s/images/headers/ivy_in_winter-thumbnail.jpg',
-			'description' => 'Ivy in Winter'
+			'description' => __( 'Ivy in Winter', 'lblg' )
+		),
+		'jet_trail' => array(
+			'url' => '%s/images/headers/jet_trail.jpg',
+			'thumbnail_url' => '%s/images/headers/jet_trail-thumbnail.jpg',
+			'description' => __( 'Jet trail', 'lblg' )
 		),
 		'lakeshore' => array(
 			'url' => '%s/images/headers/lakeshore.jpg',
 			'thumbnail_url' => '%s/images/headers/lakeshore-thumbnail.jpg',
-			'description' => 'Lakeshore'
+			'description' => __(' Lakeshore', 'lblg' )
+		),
+		'little_big_tex-crop' => array(
+			'url' => '%s/images/headers/little_big_tex-crop.jpg',
+			'thumbnail_url' => '%s/images/headers/little_big_tex-crop-thumbnail.jpg',
+			'description' => __( 'Little Big Tex', 'lblg' )
+		),
+		'orm' => array(
+			'url' => '%s/images/headers/orm.jpg',
+			'thumbnail_url' => '%s/images/headers/orm-thumbnail.jpg',
+			'description' => __( 'Old Red Museum', 'lblg' )
 		),
 		'philly_sunset' => array(
 			'url' => '%s/images/headers/philly_sunset.jpg',
 			'thumbnail_url' => '%s/images/headers/philly_sunset-thumbnail.jpg',
-			'description' => 'Philly Sunset'
+			'description' => __( 'Philly Sunset', 'lblg' )
+		),
+		'shadowtrees' => array(
+			'url' => '%s/images/headers/shadowtrees.jpg',
+			'thumbnail_url' => '%s/images/headers/shadowtrees-thumbnail.jpg',
+			'description' => __( 'Shadow Trees', 'lblg' )
 		),
 		'snowy_day' => array(
 			'url' => '%s/images/headers/snowy_day.jpg',
 			'thumbnail_url' => '%s/images/headers/snowy_day-thumbnail.jpg',
-			'description' => 'Snowy Day'
+			'description' => __( 'Snowy Day', 'lblg' )
 		),
 		'summer_dock' => array(
 			'url' => '%s/images/headers/summer_dock.jpg',
 			'thumbnail_url' => '%s/images/headers/summer_dock-thumbnail.jpg',
-			'description' => 'Summer Dock'
+			'description' => __( 'Summer Dock', 'lblg' )
 		),
 		'sunlight_streaming' => array(
 			'url' => '%s/images/headers/sunlight_streaming.jpg',
 			'thumbnail_url' => '%s/images/headers/sunlight_streaming-thumbnail.jpg',
-			'description' => 'Sunlight Streaming'
+			'description' => __( 'Sunlight Streaming', 'lblg' )
+		),
+		'three_flags' => array(
+			'url' => '%s/images/headers/three_flags.jpg',
+			'thumbnail_url' => '%s/images/headers/three_flags-thumbnail.jpg',
+			'description' => __( 'Three Flags', 'lblg' )
+		),
+		'waterfall-crop' => array(
+			'url' => '%s/images/headers/waterfall-crop.jpg',
+			'thumbnail_url' => '%s/images/headers/waterfall-crop-thumbnail.jpg',
+			'description' => __( 'Waterfall', 'lblg' )
 		),
 	) );
 }
 function lblg_header_style() {
 ?>
 <style type="text/css">
-#header{
+div#header{
 	background: url(<?php header_image() ?>) bottom left no-repeat;
 	/*background-size: cover;*/
-	background-height: <?php get_custom_header()->height; ?>;
-	background-width: <?php get_custom_header()->width; ?>;
-	height: <?php get_custom_header()->height; ?>;
+	background-height: <?php echo get_custom_header()->height; ?>px;
+	background-width: <?php echo get_custom_header()->width; ?>px;
+	height: <?php echo get_custom_header()->height; ?>px;
 }
 <?php if ( 'blank' == get_header_textcolor() ) { ?>
 #header h1, #header #description {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.