\n <\/td>\n | 'post_type' =><\/span> 'attachment',<\/td>\n <\/tr>\n \n <\/td>\n | 'post_status' =><\/span> 'any',<\/td>\n <\/tr>\n \n <\/td>\n | 'post_parent' =><\/span> get_the_ID(),<\/td>\n <\/tr>\n \n <\/td>\n | 'posts_per_page' =><\/span> -1,<\/td>\n <\/tr>\n \n <\/td>\n | 'fields' =><\/span> 'ids';<\/td>\n <\/tr>\n \n <\/td>\n | );<\/td>\n <\/tr>\n | \n <\/td>\n | \$images = new WP_Query( \$args );<\/td>\n <\/tr>\n | \n <\/td>\n | echo do_shortcode( '[gallery ids="' . implode( ',', \$images ) . '"]' );<\/td>\n <\/tr>\n <\/table>\n<\/div>\n\n\n <\/div>\n\n <\/div>\n<\/div>\n\n <\/div>\n | | | | | |