-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
53 lines (51 loc) · 1.9 KB
/
Copy pathsearch.php
File metadata and controls
53 lines (51 loc) · 1.9 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* Template for displaying search results
*/
get_header();
?>
<header class="page-header">
<div class="overlay-dark"></div>
<div class="container breadcrumbs-wrapper">
<div class="breadcrumbs d-flex flex-column justify-content-center">
<h3><?php
printf(esc_html__('Haku: "%s"', 'asteriski'), '<span>' . get_search_query() . '</span>'); ?>
</h3>
</div>
</div>
</header>
<section class="blog-section large-section gray-section">
<div class="container-fluid blog-layout-sidebar-wrapper">
<div class="row blog-layout-sidebar recent-posts">
<div class="col-xl-8 col-md-8 col-sm-12">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<article class="blog-card-wrapper">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php get_template_part('content-parts/content', get_post_format()); ?>
</div>
</article>
<?php endwhile; ?>
<?php else :
get_template_part('content-parts/content', 'none');
endif; ?>
<div class="d-flex justify-content-center">
<ul class="styled-pagination">
<?php the_posts_pagination(
array(
'prev_text' => esc_html__('<', 'asteriski'),
'next_text' => esc_html__('>', 'asteriski')
)
); ?>
</ul>
</div>
</div>
<div class="col-xl-4 col-md-4 col-sm-12">
<aside class="sidebar">
<?php get_sidebar(); ?>
</aside>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>