mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 22:43:24 +09:00
fixed cpt image setting for output
This commit is contained in:
@@ -64,7 +64,7 @@ class Display_Featured_Image_Genesis_Common {
|
||||
elseif ( is_post_type_archive() ) {
|
||||
$object = get_queried_object();
|
||||
$post_type = $object->name;
|
||||
if ( isset( $displaysetting['post_type'][$post_type] ) ) {
|
||||
if ( $displaysetting['post_type'][$post_type] ) {
|
||||
$image_id = self::get_image_id( $displaysetting['post_type'][$post_type] );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user