I added a default feature image to the theme. It's the image we had in
the header.
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:290px;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px; "';
} else {
- //echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.gif);height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"';
+ echo ' style="background-image: url('.get_template_directory_uri().'/assets/Arrive-over-Terminal_v2.jpg);height:0;padding:0;padding-bottom:290px;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"';
echo ' class="no-featured"';
}
echo '>';