The WordPress gallery shortcode now looks like this:
My problem is I have a summary page grabbing the first image of every child page. The code is something like this:
$args = array( 'post_type' => 'attachment', 'post_parent' => $page->ID, 'orderby' => 'menu_order ID', 'order' => 'asc', 'numberposts' => 1, ); $attachments = get_posts( $args );
This now doesn't work (I'm guessing because gallery order is now based on the ID's) Any way to fix it?