-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
24 lines (22 loc) · 689 Bytes
/
Copy pathsearch.php
File metadata and controls
24 lines (22 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php get_header(); ?>
<div id="primary">
<div id="main">
<div class="container">
<h2>Search results for <small>#<?php echo get_search_query(); ?></small></h2>
<?php
while(have_posts()) :
the_post();
get_template_part('template-parts/content', 'search');
if(comments_open() || get_comments_number()) :
comments_template();
endif;
endwhile;
the_posts_pagination([
'prev_text' => 'Previous',
'next_text' => 'Next'
]);
?>
</div>
</div>
</div>
<?php get_footer(); ?>