page-notebook.php 896 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /*
  3. Template Name: Notebook
  4. */
  5. get_header(); ?>
  6. <?php get_template_part( 'underscore' ); ?>
  7. <div class="container">
  8. <div id="content" role="main">
  9. <main id="main" class="site-main" role="main">
  10. <?php query_posts('showposts=10'); ?>
  11. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  12. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  13. <div class="entry-content">
  14. <div class="date">
  15. <?php the_date('M j, Y'); ?>
  16. </div>
  17. <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  18. <?php the_content(); ?>
  19. <?php comments_template( '', true ); ?>
  20. <div class="clear">&nbsp;</div>
  21. </div>
  22. </div>
  23. <?php endwhile; ?>
  24. </div>
  25. </div>
  26. </div>
  27. <?php get_footer(); ?>