mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Fix no-js image
This commit is contained in:
@@ -230,7 +230,7 @@ class Display_Featured_Image_Genesis_Output {
|
||||
echo '</div>';
|
||||
|
||||
//* if javascript not enabled, do a fallback background image
|
||||
$no_js = '<noscript><div class="backstretch no-js" style="background-image: url(' . esc_url( $item->backstretch[0] ) . '); }"></div></noscript>';
|
||||
$no_js = sprintf( '<noscript><div class="backstretch no-js" style="background-image: url(%s); }"></div></noscript>', esc_url( $item->backstretch[0] ) );
|
||||
printf( $no_js );
|
||||
|
||||
//* close big-leader
|
||||
|
||||
Reference in New Issue
Block a user