mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 14:33:32 +09:00
Add posts featured image if no blog page is set
This commit is contained in:
@@ -84,7 +84,7 @@ class Display_Featured_Image_Genesis_Settings_Validate extends Display_Featured_
|
||||
}
|
||||
}
|
||||
|
||||
foreach ( $this->get_content_types() as $post_type ) {
|
||||
foreach ( $this->get_content_types_built_in() as $post_type ) {
|
||||
|
||||
$object = get_post_type_object( $post_type );
|
||||
$old_value = isset( $this->setting['post_type'][ $object->name ] ) ? $this->setting['post_type'][ $object->name ] : '';
|
||||
|
||||
Reference in New Issue
Block a user