page-blog.php 985 B

12345678910111213141516171819202122232425
  1. <?php get_header(); ?>
  2. <div class="container">
  3. <div id="content" role="main">
  4. <main id="main" class="site-main" role="main">
  5. <?php query_posts('showposts=10'); ?>
  6. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  7. <article id="content" class="single" role="main">
  8. <div itemscope="" itemtype="http://schema.org/BlogPosting" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  9. <div class="entry-content">
  10. <div class="date">
  11. <time class="updated" datetime="<?php the_time('c');?>" itemprop="datePublished"><?php the_date('n/j/Y'); ?></time>
  12. </div>
  13. <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  14. <?php the_content(); ?>
  15. <div class="clear">&nbsp;</div>
  16. </div>
  17. </div>
  18. </article>
  19. <?php endwhile; ?>
  20. </main>
  21. </div>
  22. </div>
  23. <?php get_footer(); ?>