<?php $single_metadata = flat_get_theme_option( 'single_metadata' ); ?>
		<?php if ( empty( $single_metadata ) ) : ?>
			<div class="entry-meta"><?php flat_entry_meta( true, $author_postbox ); ?></div>
		<?php endif; ?>
	</header>
	<?php $single_featured_image = flat_get_theme_option( 'single_featured_image' ); ?>
	<?php if ( has_post_thumbnail() && ! post_password_required() && empty( $single_featured_image ) ) : ?>
		<div class="entry-thumbnail"><?php the_post_thumbnail( 'post-thumbnail', array( 'itemprop' => 'thumbnailUrl' ) ); ?></div>
	<?php endif; ?>

	<?php flat_hook_entry_before(); ?>

	<div class="entry-content clearfix" itemprop="articleBody">
		<?php flat_hook_entry_top(); ?>
		<?php the_content( __( 'Continue reading', 'flat' ) ); ?>
		<?php 
		if ( function_exists( 'cwppos_show_review' ) ) :
			echo cwppos_show_review(); 
			
		endif;
		?>
		<?php wp_link_pages( array( 'before' => '<div class="page-links" itemprop="pagination"><span class="page-links-title">' . __( 'Pages:', 'flat' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
		<?php flat_hook_entry_bottom(); ?>
	</div>
	<?php flat_hook_entry_after(); ?>
	<?php the_tags( '<div class="tags-links">', __( ' ', 'flat' ), '</div>' ); ?>
</article>
	<?php if ( $author_postbox ) : ?>
		<?php get_template_part( 'author-bio' ); ?>
	<?php endif; ?>
示例#2
0
					</header>
					<?php 
    flat_hook_entry_before();
    ?>
					<div class="entry-content" itemprop="articleBody">
						<?php 
    flat_hook_entry_top();
    ?>
						<?php 
    the_content(__('Continue reading <span class="meta-nav">...</span>', 'flat'));
    ?>
						<?php 
    wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'flat') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>'));
    ?>
						<?php 
    flat_hook_entry_bottom();
    ?>
					</div>
					<?php 
    flat_hook_entry_after();
    ?>
				</article>
				<?php 
    comments_template();
    ?>
			<?php 
}
?>

				<?php 
flat_hook_page_bottom();