page-notebook.php 851 B

123456789101112131415161718192021222324252627
  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('n/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. <div class="clear">&nbsp;</div>
  20. </div>
  21. </div>
  22. <?php endwhile; ?>
  23. </main>
  24. </div>
  25. </div>
  26. <?php get_footer(); ?>