mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
add filter for backstretch title
This commit is contained in:
@@ -195,7 +195,10 @@ class Display_Featured_Image_Genesis_Output {
|
||||
if ( genesis_html5() ) {
|
||||
$itemprop = 'itemprop="headline"';
|
||||
}
|
||||
echo '<h1 class="' . $class . ' featured-image-overlay" ' . $itemprop . '>' . $item->title . '</h1>';
|
||||
$title = $item->title;
|
||||
$title_output = sprintf( '<h1 class="%s featured-image-overlay" %s>%s</h1>', $class, $itemprop, $title );
|
||||
|
||||
echo apply_filters( 'display_featured_image_genesis_modify_title_overlay', $title_output, $class, $itemprop, $title );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user