-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
53 lines (44 loc) · 902 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
47
48
49
50
51
52
53
<?php
/**
* Catch All Template
*
* Catch all template file within the Template Hierarchy.
*
* @since 1.0.0
*
* @package BoxOfScraps
* @subpackage Templates
*/
?>
<?php get_header(); ?>
<?php
do_action( 'boxofscraps_content_before' );
?>
<div class="container py-4">
<?php if ( have_posts() ) : ?>
<?php
do_action( 'boxofscraps_loop_before' );
?>
<div class="columns is-multiline">
<?php
while ( have_posts() ) :
the_post();
?>
<div class="column is-one-quarter">
<?php get_template_part( 'partials/loop' ); ?>
</div>
<?php endwhile; ?>
</div>
<?php
do_action( 'boxofscraps_loop_after' );
?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div>
<?php get_template_part( 'partials/pagination' ); ?>
<?php
do_action( 'boxofscraps_content_after' );
?>
<?php
get_footer();