-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsearch.php
35 lines (35 loc) · 919 Bytes
/
search.php
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
<?php get_header(); ?>
<section class="main-content">
<header class="page-header">
<div class="container">
<div class="columns is-centered">
<div class="column">
<h2><?php echo CC_Site::page_title(); ?></h2>
</div>
</div>
</div>
</header>
<?php get_template_part( 'inc/partials/archive/search', 'before' ); ?>
<div class="container">
<div class="columns padding-vertical-larger">
<div class="column is-8 content">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
echo Components::simple_entry( get_the_ID(), true, true );
endwhile;
the_posts_pagination(
array(
'screen_reader_text' => ' ',
'prev_text' => '<i class="icon chevron-left"></i>',
'next_text' => '<i class="icon chevron-right"></i>',
)
);
endif;
?>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>