-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsearch.php
More file actions
36 lines (35 loc) · 1.19 KB
/
search.php
File metadata and controls
36 lines (35 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/*
Template Name: Search Page
*/
?>
<?php get_template_part( 'template-parts/custom', 'header' ); ?>
<!--Archive-->
<section id="blog" class="blog-area section-padding">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="section-header">
<h2><?php esc_html_e('Search Results', 'saybers'); ?></h2>
<div class="line"><img src="<?php echo get_site_icon_url() ?>" alt=""></div>
<p class="sub-head"><?php printf( __( 'Search Results for : %s', 'saybers' ), '<span>' . get_search_query() . '</span>' ); ?></p>
</div>
</div>
</div>
<div class="row">
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
// Post Content here
get_template_part('template-parts/small', 'content');
} // end while
} // end if
wp_reset_postdata(); ?>
</div>
</div>
<div class="pagination">
<?php echo paginate_links(); ?>
</div>
</section>
<?php get_footer(); ?>