mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-18 14:03:20 +09:00
remove image from page 2+ on blogs/archives
This commit is contained in:
@@ -39,7 +39,7 @@ class Display_Featured_Image_Genesis_Output {
|
||||
$item = Display_Featured_Image_Genesis_Common::get_image_variables();
|
||||
|
||||
//* if there is no backstretch image set, or it is too small, die
|
||||
if ( empty( $item->backstretch ) || $item->width <= $item->medium ) {
|
||||
if ( empty( $item->backstretch ) || $item->width <= $item->medium || is_paged() ) {
|
||||
return;
|
||||
}
|
||||
//* if the featured image is not part of the content, or we're not on a singular page, carry on
|
||||
|
||||
Reference in New Issue
Block a user