1
vote
1answer
102 views

Make Images appear in the same order as in media browser using get children?

I would really like my images to display in the same way I've ordered them in the media browser. What am I doing wrong? $images =& get_children( array('post_parent' => $post->ID, ...
4
votes
4answers
3k views

Get first image in a post

I am using this code directly from the codex. function echo_first_image ($postID) { $args = array( 'numberposts' => 1, 'order'=> 'ASC', 'post_mime_type' ...