Closed fredroo closed 8 years ago
Hello, how i can get gallery in single.php from $post_id?
$loop = new WP_Query( array( 'post_type' => 'attachment', 'post_parent' => get_the_ID(), 'orderby' => 'menu_order', 'order' => 'ASC' ) );
Hello, how i can get gallery in single.php from $post_id?