mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Fix missing title
This commit is contained in:
@@ -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"' : '';
|
||||
|
||||
Reference in New Issue
Block a user