* The template for displaying posts in the Aside Post Format on index and archive pages
 *
 * Learn more: http://codex.wordpress.org/Post_Formats
 *
 * @package WordPress
 * @subpackage Weaver X
 * @since Weaver Xtreme 1.0
 */
weaverx_per_post_style();
$do_excerpt = weaverx_do_excerpt();
?>
	<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('content-aside post-format ' . weaverx_post_class());
?>
>
<?php 
if (!weaverx_compact_post()) {
    ?>
	<header class="entry-header">
<?php 
    weaverx_entry_header('aside', $do_excerpt);
    ?>
	</header><!-- .entry-header -->

<?php 
    if (weaverx_show_only_title()) {
        return;
    }
/**
 * The template for displaying posts in the Status Post Format on index and archive pages
 *
 * Learn more: http://codex.wordpress.org/Post_Formats
 *
 * @package WordPress
 * @subpackage Weaver X
 */
weaverx_per_post_style();
?>

	<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('post-content content-status post-format ' . weaverx_post_class());
?>
>
<?php 
if (!weaverx_compact_post()) {
    ?>
		<header class="entry-header">
<?php 
    weaverx_entry_header('status');
    if (comments_open() && !post_password_required()) {
        ?>
			<div class="comments-link">
<?php 
        weaverx_comments_popup_link();
        ?>
			</div>
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 *  Link
 */
weaverx_per_post_style();
?>
	<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('content-link post-content post-format ' . weaverx_post_class());
?>
>
<?php 
if (!weaverx_compact_post()) {
    ?>
		<header class="entry-header">
<?php 
    weaverx_entry_header('link');
    ?>
		</header><!-- .entry-header -->

		<?php 
    if (weaverx_show_only_title()) {
        return;
    }
/**
 * The template for displaying content in the single.php template
 *
 * @package WordPress
 * @subpackage Weaver X
 * @since Weaver Xtreme 1.0
 */
weaverx_per_post_style();
weaverx_fi('post', 'post-before');
?>

<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('content-single post-content ' . weaverx_post_class(true));
?>
>
	<?php 
weaverx_single_title('');
weaverx_post_div('content');
weaverx_the_post_full_single();
wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages:', 'weaver-xtreme') . '</span>', 'after' => '</div>'));
?>
	</div><!-- .entry-content -->

	<footer class="entry-utility entry-author-info">
	<?php 
weaverx_post_bottom_info('single');
weaverx_author_info();
?>
    } else {
        echo $the_image;
    }
    weaverx_compact_link('check');
    weaverx_edit_link();
    ?>
	</div><!-- .entry-content -->
<?php 
} else {
    // Regular Image Layout
    ?>
		<article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class('content-image ' . weaverx_post_class());
    ?>
>
		<header class="page-header">
<?php 
    weaverx_entry_header('image');
    ?>
		</header><!-- .page-header -->

<?php 
    if (weaverx_show_only_title()) {
        return;
    }
    weaverx_post_div('content');
    weaverx_the_post_full();
    weaverx_link_pages();
 * The template for displaying posts in the Gallery Post Format on index and archive pages
 *
 * Learn more: http://codex.wordpress.org/Post_Formats
 *
 * @package WordPress
 * @subpackage Weaver X
 * @since Weaver Xtreme 1.0
 */
weaverx_per_post_style();
$entry_summary = 'entry-summary';
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('post-content content-gallery ' . weaverx_post_class());
?>
>
<?php 
if (!weaverx_compact_post()) {
    ?>
	<header class="entry-header">
	<?php 
    weaverx_entry_header('gallery');
    weaverx_post_top_meta();
    ?>
	</header><!-- .entry-header -->

<?php 
    if (weaverx_show_only_title()) {
        return;
/**
 * The template for displaying posts in the Audio Post Format on index and archive pages
 *
 * Learn more: http://codex.wordpress.org/Post_Formats
 *
 * @package WordPress
 * @subpackage Weaver X
 * @since Weaver Xtreme 1.0
 */
weaverx_per_post_style();
?>
	<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('post-content content-audio ' . weaverx_post_class());
?>
>
<?php 
if (!weaverx_compact_post()) {
    ?>
		<header class="entry-header">
			<?php 
    weaverx_entry_header('audio');
    ?>
		</header><!-- .entry-header -->

<?php 
    if (weaverx_show_only_title()) {
        return;
    }
/**
 * The template for displaying posts in the Image Post Format on index and archive pages
 *
 * Learn more: http://codex.wordpress.org/Post_Formats
 *
 * @package WordPress
 * @subpackage Weaver X
 * @since Weaver Xtreme 1.0
 */
weaverx_per_post_style();
?>
	<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('post-content content-video ' . weaverx_post_class());
?>
>
<?php 
if (!weaverx_compact_post()) {
    ?>
		<header class="entry-header">
<?php 
    weaverx_entry_header('video');
    ?>
		</header><!-- .entry-header -->

<?php 
    if (weaverx_show_only_title()) {
        return;
    }
		<?php 
    echo $the_image;
    ?>
		</a>
		</div><!-- .entry-compact -->

<?php 
} else {
    // -------------------------------------------------- REGULAR POSTS ---------------------------------------
    ?>

<article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class('content-default ' . weaverx_post_class());
    ?>
><!-- POST: standard -->
<header class="entry-header">
<?php 
    weaverx_entry_header('', $do_excerpt);
    weaverx_post_top_meta('');
    ?>
</header><!-- .entry-header -->

<?php 
    if (weaverx_show_only_title()) {
        // -------------------- TITLE ONLY? --------------------
        return;
    }
    if ($do_excerpt) {
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Quote
 *
 */
weaverx_per_post_style();
?>

	<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('content-quote post-content ' . weaverx_post_class());
?>
>
<?php 
if (!weaverx_compact_post()) {
    ?>
		<header class="entry-header">
		<?php 
    weaverx_entry_header('quote');
    weaverx_post_top_meta();
    ?>
		</header><!-- .entry-header -->

		<?php 
    if (weaverx_show_only_title()) {
        return;