*/ weaverx_per_post_style(); if (weaverx_compact_post()) { ?> <article id="post-<?php the_ID(); ?> " <?php post_class('post-content format-image-compact ' . weaverx_post_class()); ?> > <?php $use_link = true; $content = do_shortcode(apply_filters('the_content', get_the_content(''))); // pick up wp 3.6 post format meta image $the_image = weaverx_get_first_post_image($content); if ($the_image == '') { $the_image = $content; $use_link = false; } ?> <div class="entry-content clearfix"> <?php if ($use_link) { ?> <a href="<?php esc_url(the_permalink()); ?> " title="<?php the_title_attribute('echo=1'); ?>
* The default template for displaying content * * This will display unmatched post-type blog posts from main blog page and archive-type pages * Note - if you are building a custom content-xxx.php page for a custom post type, you should * be sure that Feature Images are processed correctly via weaverx_the_post_full(). * * @package WordPress * @subpackage Weaver X * @since Weaver Xtreme 1.0 */ weaverx_per_post_style(); $do_excerpt = weaverx_do_excerpt(); $me = $do_excerpt ? 'post_excerpt' : 'post_full'; weaverx_fi($me, 'post-before'); // ------------------------------------------------- COMPACT POSTS --------------------------------------- if (weaverx_is_checked_page_opt('_pp_pwp_compact_posts') && ($the_image = weaverx_get_first_post_image()) != '') { // = Compact Posts ?> <article id="post-<?php the_ID(); ?> " <?php post_class('post-content content-default content-compact-post ' . weaverx_post_class()); ?> > <header class="entry-header"> <?php weaverx_entry_header(''); // compact header