<?php } else { ?> <article id="post-<?php the_ID(); ?> " <?php post_class('content-default ' . weaverii_post_count_class()); ?> > <header class="entry-header"> <?php if (is_sticky()) { weaverii_entry_header(''); } else { weaverii_post_title('<div class="entry-hdr"><h2 class="entry-title">', "</h2></div>\n"); } if ('page' != get_post_type()) { ?> <div class="entry-meta"> <?php weaverii_post_top_info(); ?> </div><!-- .entry-meta --> <?php } weaverii_comments_popup_link(); ?> </header><!-- .entry-header --> <?php if (weaverii_get_per_page_value('wvr_pwp_type') == 'title_featured' && !weaverii_sc_getopt('showposts') || weaverii_sc_getopt('show') == 'title_featured') {
/** * Prints the entry-header (title) * * @since Weaver II 1.0 */ function weaverii_entry_header($format_title = '') { /* display entery header for posts */ ?> <div class="entry-hdr"> <?php if ($format_title != '' && !weaverii_is_checked_post_opt('hide_post_format_label')) { echo "\t\t\t\t<h3 class=\"entry-format\">" . $format_title . "</h3>\n"; } weaverii_post_title('<h2 class="entry-title">', '</h2>'); ?> </div> <?php }
weaverii_trace_template(__FILE__); global $weaverii_cur_post_id; $weaverii_cur_post_id = get_the_ID(); weaverii_per_post_style(); ?> <article id="post-<?php the_ID(); ?> " <?php post_class('content-single ' . weaverii_post_count_class(true)); ?> > <header class="entry-header"> <?php weaverii_post_title('<div class="entry-hdr"><h1 class="entry-title">', "</h1></div>\n", 'single'); if ('page' != get_post_type()) { ?> <div class="entry-meta"> <?php weaverii_post_top_info('single'); ?> </div><!-- .entry-meta --> <?php } ?> </header><!-- .entry-header --> <div class="entry-content cf"> <?php weaverii_the_contnt_featured_single();