page-timeline.php 751 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. Template Name: 时光轴模版
  4. */
  5. get_header();
  6. #error_reporting(E_ALL);
  7. #ini_set('display_errors', '1');
  8. ?>
  9. <div id="main">
  10. <header class="timeline-header"><h1 class="cat-title">时光轴</h1> <span class="cat-des"><p>TimeLine</p> </span></header>
  11. <div id="main-part">
  12. <?php if (have_posts()) : the_post(); update_post_caches($posts); ?>
  13. <article class="art">
  14. <div class="art-main">
  15. <div class="art-content">
  16. <?php if ( has_post_thumbnail() ) {
  17. the_post_thumbnail();
  18. }
  19. the_content();
  20. memory_archives_list();
  21. ?>
  22. </div>
  23. </div>
  24. </article>
  25. <?php endif; ?>
  26. </div>
  27. </div>
  28. <?php get_footer();