mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-18 22:13:20 +09:00
Fix post_parent call
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user