-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.php
46 lines (36 loc) · 838 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
/**
* Index
*
* The most basic template primarily used for the blog. Just a list of
* full-width articles using the loop partial.
*
* @package WordPress
* @subpackage Fictioneer
* @since 4.6.0
* @see partials/_loop.php
*/
// Header
get_header();
?>
<main id="main" class="main index">
<?php do_action( 'fictioneer_main' ); ?>
<div class="main__wrapper"><?php
do_action( 'fictioneer_main_wrapper' );
get_template_part( 'partials/_loop' );
?></div>
<?php do_action( 'fictioneer_main_end', 'index' ); ?>
</main>
<?php
// Footer arguments
$footer_args = array(
'post_type' => null,
'post_id' => null,
'breadcrumbs' => array(
[fcntr( 'frontpage' ), get_home_url()],
[fcntr( 'blog' ), null]
)
);
// Get footer with breadcrumbs
get_footer( null, $footer_args );
?>