32 lines
741 B
PHP
32 lines
741 B
PHP
<?php
|
|
|
|
/**
|
|
Template Name: 时光轴
|
|
*/
|
|
|
|
get_header();
|
|
|
|
#error_reporting(E_ALL);
|
|
#ini_set('display_errors', '1');
|
|
?>
|
|
<div id="main">
|
|
<header class="page-header"><h1 class="cat-title">时光轴</h1> <span class="cat-des"><p>TimeLine</p> </span></header>
|
|
<div id="main-part">
|
|
<?php if (have_posts()) : the_post(); update_post_caches($posts); ?>
|
|
<article class="art">
|
|
<div class="art-main">
|
|
<div class="art-content">
|
|
<?php if ( has_post_thumbnail() ) {
|
|
the_post_thumbnail();
|
|
}
|
|
the_content();
|
|
memory_archives_list();
|
|
?>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<?php get_footer();
|