-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
46 lines (37 loc) · 906 Bytes
/
index.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
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* The main template file.
*
* @package KiND
*/
get_header(); ?>
<div class="container heading">
<?php kind_section_title(); ?>
<?php kind_archive_description(); ?>
</div>
<?php if ( have_posts() ) { ?>
<div class="main-content cards-holder listing-bg archive-post-list kind-overflow-visible">
<div class="container">
<div class="flex-row start cards-loop">
<?php
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content', 'archive' );
}
?>
</div>
</div>
<?php kind_posts_pagination(); ?>
<?php do_action( 'kind_after_archive_content' ); ?>
</div>
<?php } else { ?>
<div class="main-content listing-bg">
<div class="container">
<div class="empty-message"><?php esc_html_e( 'Unfortunately, nothing found', 'kind' ); ?></div>
<?php get_search_form(); ?>
</div>
</div>
<?php
}
kind_bottom_blocks();
get_footer();