diff --git a/includes/helper-functions.php b/includes/helper-functions.php index 7403867..df44476 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -157,7 +157,7 @@ function display_featured_image_genesis_add_archive_thumbnails() { 'order' => 'ASC', 'orderby' => 'menu_order', 'post_mime_type' => 'image', - 'post_parent' => $post_id ? $post_id : get_the_ID(), + 'post_parent' => get_the_ID(), 'post_type' => 'attachment', ); $attached_images = get_children( $args );