Fix missing title

This commit is contained in:
Robin Cornett
2015-07-28 10:45:28 -04:00
parent 3be4e71792
commit 72c7e7dcba
@@ -211,7 +211,8 @@ class Display_Featured_Image_Genesis_Output {
} elseif ( ! $keep_titles && ! in_array( get_post_type(), $do_not_move_title ) ) { // if titles are being moved to overlay the image
if ( ! empty( $this->item->title ) && $show_front_page_title ) {
$front_page_show = is_front_page() && $show_front_page_title ? true : false;
if ( ! empty( $this->item->title && ( ! is_front_page() || $front_page_show ) ) ) {
$class = is_singular() ? 'entry-title' : 'archive-title';
$itemprop = genesis_html5() ? 'itemprop="headline"' : '';