PageRenderTime 39ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-content/themes/target/search.php

https://github.com/Bochet/festival_lgbt
PHP | 52 lines | 30 code | 22 blank | 0 comment | 2 complexity | 099a9b06ee4a2f01c5167663d3e7b523 MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1
  1. <?php get_header(); ?>
  2. <div id="subhead_container">
  3. <div id="subhead_wrapper">
  4. <div id="subhead">
  5. <h1><?php printf( __( 'Search Results for: %s', 'target' ), '' . get_search_query() . '' ); ?></h1>
  6. </div>
  7. <div id="search-header"><?php get_search_form(); ?></div><!--search header end-->
  8. <div class="clear"></div>
  9. </div>
  10. </div>
  11. <!--inside container-->
  12. <div id="content_container">
  13. <div id="content">
  14. <!-- left-col-->
  15. <div id="left-col">
  16. <?php if ( have_posts() ) : ?>
  17. <?php get_template_part( 'loop', 'search' ); ?>
  18. <?php else : ?>
  19. <div class="post-head-notfound">
  20. <h1><?php _e( 'Nothing Found', 'target' ); ?></h1>
  21. </div><!--head end-->
  22. <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'target' ); ?></p>
  23. <?php endif; ?>
  24. </div> <!--left-col end-->
  25. <?php get_sidebar(); ?>
  26. </div>
  27. </div> <!--content end-->
  28. </div>
  29. <!--wrapper end-->
  30. <?php get_footer(); ?>