>
>
>

post_excerpt ) ) : ?>
'' ) ); ?>
$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; } $previous_image = isset( $attachments[$k - 1] ) ? $attachments[$k - 1]->ID : false; $next_image = isset( $attachments[$k + 1] ) ? $attachments[$k + 1]->ID : false; $first_image = isset( $attachments[0] ) ? $attachments[0]->ID : false; $last_image = isset( $attachments[$k + 1] ) ? end( $attachments )->ID : false; $previous_url = isset( $attachments[$k - 1] ) ? get_permalink( $attachments[$k - 1]->ID ) : get_permalink( $attachments[0]->ID ); $next_url = isset( $attachments[$k + 1] ) ? get_permalink( $attachments[$k + 1]->ID ) : get_permalink( $attachments[0]->ID ); $first_url = isset( $attachments[0] ) ? get_permalink( $attachments[0] ) : false; $last_url = isset( $attachments[$k + 1] ) ? get_permalink( end( $attachments )->ID ) : get_permalink( $attachments[0]->ID ); ?>
' . __( 'Post a comment', 'cyberchimps' ) . ' ' . __( 'or leave a trackback', 'cyberchimps' ) . ': ' . __( 'Trackback URL', 'cyberchimps' ) . '.', get_trackback_url() ); ?> ' . __( 'Trackback URL', 'cyberchimps' ) . '.', get_trackback_url() ); ?> ' . __( 'post a comment', 'cyberchimps' ) . '.' ); ?> ', '' ); ?>