<article class="<?php xtreme_post_class(); ?> " id="post-<?php the_ID(); ?> "> <header> <?php xtreme_post_titles(array('headline_link' => false, 'subtitle_link' => false)); ?> <?php xtreme_html5_byline(); ?> </header> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<nav><strong>' . __('Pages:', XF_TEXTDOMAIN) . '</strong> ', 'after' => '</nav>', 'next_or_number' => 'number')); ?> <?php edit_post_link(__('Edit', XF_TEXTDOMAIN), '<div class="postedit">', '</div>'); ?> </div> <?php do_action('xtreme_single_footer'); ?> </article>
<article class="<?php xtreme_post_class(); ?> " id="post-<?php the_ID(); ?> "> <header> <?php xtreme_post_format_icon('h3', __('Gallery', XF_TEXTDOMAIN)); ?> <?php xtreme_post_titles(); ?> <?php xtreme_html5_byline(); ?> </header> <?php $images = get_children(array('post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999)); if ($images) { $total_images = count($images); $image = array_shift($images); $image_img_tag = wp_get_attachment_image($image->ID, 'thumbnail'); $align = apply_filters('xtreme_loop_thumbnail_align', 'alignleft'); ?> <figure class="gallery-thumnail"> <a class="xf-thumbnail <?php echo $align; ?> " title="<?php
<article class="<?php xtreme_post_class(); ?> " id="post-<?php the_ID(); ?> "> <header> <?php xtreme_post_format_icon('h3', __('Aside', XF_TEXTDOMAIN)); ?> <?php $args = array('headline_link' => TRUE, 'subtitle_tag' => 'h2'); xtreme_post_titles($args); ?> <?php xtreme_html5_byline(); ?> </header> <div class="entry-content"> <?php the_content(); ?> </div> <?php xtreme_html5_post_meta(); ?> </article>