author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:30:03 +0200 | |
changeset 10 | 372f2766ea20 |
parent 7 | cf61fcea0001 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* The template for displaying Search Results pages |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Twenty_Thirteen |
|
7 |
* @since Twenty Thirteen 1.0 |
|
8 |
*/ |
|
9 |
||
10 |
get_header(); ?> |
|
11 |
||
12 |
<div id="primary" class="content-area"> |
|
13 |
<div id="content" class="site-content" role="main"> |
|
14 |
||
15 |
<?php if ( have_posts() ) : ?> |
|
16 |
||
17 |
<header class="page-header"> |
|
18 |
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() ); ?></h1> |
|
19 |
</header> |
|
20 |
||
21 |
<?php /* The loop */ ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
22 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
23 |
while ( have_posts() ) : |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
24 |
the_post(); |
10 | 25 |
?> |
0 | 26 |
<?php get_template_part( 'content', get_post_format() ); ?> |
27 |
<?php endwhile; ?> |
|
28 |
||
29 |
<?php twentythirteen_paging_nav(); ?> |
|
30 |
||
31 |
<?php else : ?> |
|
32 |
<?php get_template_part( 'content', 'none' ); ?> |
|
33 |
<?php endif; ?> |
|
34 |
||
35 |
</div><!-- #content --> |
|
36 |
</div><!-- #primary --> |
|
37 |
||
38 |
<?php get_sidebar(); ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
39 |
<?php get_footer(); ?> |