if (!defined('ABSPATH')) { exit; } // Exit if accessed directly /** * 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); ?>
> <?php if (!weaverx_compact_post()) { ?> <header class="entry-header"> <?php weaverx_entry_header('link'); ?> </header><!-- .entry-header --> <?php if (weaverx_show_only_title()) { return; } } if (weaverx_do_excerpt() && !weaverx_compact_post()) { // Only display Excerpts for Search weaverx_post_div('summary'); weaverx_the_post_excerpt(); ?> <br /> </div><!-- .entry-summary --> <?php } else { weaverx_post_div('content'); weaverx_the_post_full(); weaverx_link_pages(); ?> </div><!-- .entry-content --> <?php }