Fix post_parent call

This commit is contained in:
Robin Cornett
2015-04-27 11:59:47 -04:00
parent 4da66b80ee
commit 6787b96354
+1 -1
View File
@@ -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 );