Add posts featured image if no blog page is set

This commit is contained in:
Robin Cornett
2017-10-25 12:33:45 -04:00
parent 0da84e5bf4
commit 776aa0d192
3 changed files with 9 additions and 5 deletions
@@ -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 ] : '';