mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
fix variable for CPT
This commit is contained in:
@@ -75,7 +75,7 @@ class Display_Featured_Image_Genesis_Common {
|
||||
|
||||
elseif ( is_post_type_archive() ) {
|
||||
$post_type = $object->name;
|
||||
if ( $displaysetting['post_type'][$post_type] ) {
|
||||
if ( isset( $displaysetting['post_type'][$post_type] ) ) {
|
||||
$image_id = self::get_image_id( $displaysetting['post_type'][$post_type] );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user