page-desk.php 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. Template Name: Desk
  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. <article id="content" class="single" role="main">
  13. <div itemscope="" itemtype="http://schema.org/BlogPosting" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  14. <div class="entry-content">
  15. <div class="date">
  16. <time datetime="<?php the_time('c');?>" itemprop="datePublished"><?php the_date('n/j/Y'); ?></time>
  17. </div>
  18. <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>
  19. <?php the_content(); ?>
  20. <div class="clear">&nbsp;</div>
  21. </div>
  22. </div>
  23. </article>
  24. <?php endwhile; ?>
  25. </main>
  26. </div>
  27. </div>
  28. <?php get_footer(); ?>