index.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!--perhaps an altenate header -->
  2. <?php get_header('home'); ?>
  3. <div class="container-full leader dark">
  4. <!-- Not sure what I'm going to have on my main page just yet maybe the card again -->
  5. <div class="container">
  6. <h1 class="light">Some Static Content</h1>
  7. <h2 class="light">Some Static Content</h2>
  8. <h3 class="light">Some Static Content</h3>
  9. <h4 class="light">Some Static Content</h4>
  10. <h5 class="light">Some Static Content</h5>
  11. <h6 class="light">Some Static Content</h6>
  12. </div>
  13. </div>
  14. <div class="container">
  15. <div id="content" role="main">
  16. <main id="main" class="site-main" role="main">
  17. <!-- Not sure what I'm going to have on my main page just yet -->
  18. <?php query_posts('showposts=2'); ?>
  19. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  20. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  21. <div class="entry-content">
  22. <div class="date">
  23. <?php the_date('n/j/Y'); ?>
  24. </div>
  25. <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>
  26. <?php the_content(); ?>
  27. <?php comments_template( '', true ); ?>
  28. <div class="clear">&nbsp;</div>
  29. </div>
  30. </div>
  31. <?php endwhile; ?>
  32. </div>
  33. </div>
  34. </div>
  35. <?php get_footer(); ?>