Beispiel #1
0
" <?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') {
        // title has been displayed - add the featured image after for these special cases
        echo '<div class="entry-content cf">';
        weaverii_use_fi_in_content();
        echo '</div>';
    }
    if (weaverii_show_only_title()) {
<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();
?>
		<?php 
wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages:', 'weaver-ii') . '</span>', 'after' => '</div>'));
?>
	</div><!-- .entry-content -->