404.php 650 B

12345678910111213141516171819202122
  1. <?php get_header(); ?>
  2. <div class="container">
  3. <div id="content" role="main">
  4. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  5. <div class="entry-content">
  6. <div class="date">
  7. <?php the_date(); ?>
  8. </div>
  9. <?php if ( have_posts() ) : ?>
  10. <header class="page-header">
  11. <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'dw' ), get_search_query() ); ?></h1>
  12. </header>
  13. <?php while ( have_posts() ) : the_post();the_excerpt();
  14. endwhile; dw_paging_nav();
  15. else :get_search_form();
  16. endif;
  17. ?>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <?php get_footer(); ?>