sakura/user/page-timeline.php

31 lines
737 B
PHP
Raw Permalink Normal View History

2018-05-26 18:59:29 +08:00
<?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>Archives</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();