404.php 685 B

12345678910111213141516171819202122232425
  1. <?php get_header(); ?>
  2. <div id="container" class="one-column">
  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();
  14. the_excerpt();
  15. endwhile;
  16. dw_paging_nav();
  17. else :
  18. get_search_form();
  19. endif;
  20. ?>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. <?php get_footer(); ?>