>

post_parent ) { ?> post_parent) ); ?> »

%2$s', 'greyzed' ), esc_html( get_the_date( get_option( 'date_format' ) ) ), esc_html( get_the_author() ) ); } else { printf( __( 'Posted: %1$s', 'greyzed' ), esc_html( get_the_date( get_option( 'date_format' ) ) ) ); } ?> | %3$s × %4$s', esc_url( wp_get_attachment_url() ), esc_attr( __('Link to full-size image', 'greyzed') ), esc_html( $metadata['width'] ), esc_html( $metadata['height'] ) ) ); ?> | ', '' ); ?>
post_parent ) { $attachments = array_values( get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); foreach ( $attachments as $k => $attachment ) { if ( $attachment->ID == $post->ID ) break; } $k++; if ( isset( $attachments[ $k ] ) ) $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); else $next_attachment_url = get_permalink( $post->post_parent ); } ?>

ID, array( 648, 9999 ) ); ?>

post_excerpt) ) the_excerpt(); // this is the "caption" ?>
Read the rest of this entry »

'); ?> post_parent ) { ?>