* Template part for gallery posts
 *
 * @version 1.0
 */
?>
<article <?php 
post_class();
?>
 id="post-<?php 
the_ID();
?>
">
	<header class="entry-header">
		<?php 
hannover_image_from_gallery_or_image_post('large', $post);
hannover_the_title('h2', true);
?>
	</header>
	<div class="entry-content">
		<?php 
if (has_excerpt()) {
    the_excerpt();
}
?>
	</div>
	<footer>
		<p><a href="<?php 
the_permalink();
?>
"
		      class="entry-date"><?php 
示例#2
0
<?php

/**
 * Template part for pages
 *
 * @version 1.0
 */
?>
<article <?php 
post_class();
?>
 id="post-<?php 
the_ID();
?>
">
	<header class="entry-header">
		<?php 
hannover_the_title('h1', false);
?>
	</header>
	<div class="entry-content">
		<?php 
hannover_the_content();
wp_link_pages();
?>
	</div>
</article>