-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
54 lines (43 loc) · 1.51 KB
/
index.php
File metadata and controls
54 lines (43 loc) · 1.51 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
54
<?php
/*
Final Decisions
Main template file, used for Categories page
*/
get_header();
?>
<main>
<?php get_template_part('template-parts/random-banner'); ?>
<div class="container pt-1">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a class="link-light" href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Blog</li>
</ol>
</nav>
</div>
<div class="container-fluid px-0 pt-1 pb-5">
<div class="container">
<h1 class="display-4 text-white text-center">Blog</h1>
<div class="row justify-content-between">
<div class="col-lg-8">
<?php
if (have_posts()) :
while (have_posts()) :
the_post();
get_template_part('template-parts/content-excerpts', get_post_format());
endwhile;
endif;
?>
<div>
<hr>
<div class="row justify-content-evenly" aria-label="post-navigation">
<?php posts_nav_link(" ", "Newer Posts", "Older Posts"); ?>
</div>
</div>
</div>
<?php get_template_part('template-parts/sidebar') ?>
</div>
</div>
</div>
</main>
<?php get_footer(); ?>