ID; $parent = $post->post_parent; $args = array( 'post_type'=>'page', 'orderby'=>'modified', 'order'=>'DESC', 'post_parent'=>$parent, 'posts_per_page'=>-1 ); $siblings = new WP_Query($args); $imageargs = array ( 'post_type' => 'attachment', 'post_mime_type' => 'image', 'posts_per_page' => -1, 'post_status'=> 'any', 'post_parent' => $current, 'orderby' => 'menu_order', 'order' => 'ASC', 'post__not_in' => array(get_post_thumbnail_id()) ); $images = new WP_Query($imageargs); if ($images->have_posts()) { ?>
'w100 hauto block'));?>

have_posts()){ ?>
  • Galleries
  • have_posts()){ $siblings->the_post();?>
  • post->ID == $current){ echo 'class="current" ';}?>href="" title="">
have_posts()) { $images->the_post(); $thumb = wp_get_attachment_image_src( $post->ID, 'medium'); $full = wp_get_attachment_image_src( $post->ID, 'full'); $adjH = ($i == 0 ?((620/$full[1])*$full[2]):((300/$thumb[1])*$thumb[2])); ?>
<? echo get_the_excerpt();?>
post->ID, true);?>