-
Notifications
You must be signed in to change notification settings - Fork 104
/
archive.php
62 lines (53 loc) · 1.41 KB
/
archive.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
54
55
56
57
58
59
60
61
62
<?php
get_header();
b4st_main_before();
?>
<main id="site-main" class="mt-5">
<header class="mb-5 text-center">
<span class="text-muted"><?php _e('Archive', 'b4st'); ?></span>
<h1>
<?php echo the_archive_title(); ?>
</h1>
</header>
<?php get_template_part('loops/index-loop'); ?>
<?php
/*
Did you want a traditional article-plus-sidebar layout?
=======================================================
Use this below instead of the one line above -- and
remove some of the CSS styles controlling `.entry-content`
<div class="container">
<div class="row">
<div class="col-sm">
<div id="content" role="main">
<header class="mb-5">
<h1>
<?php _e('Archive: ', 'b4st'); echo the_archive_title(); ?>
</h1>
</header>
<?php get_template_part('loops/index-loop'); ?>
</div>
</div>
<?php get_sidebar(); ?>
</div>
</div>
*/
?>
</main>
<?php
b4st_main_after();
if(is_active_sidebar('main-widget-area')): ?>
<section id="site-main-widgets" class="bg-light">
<div class="container">
<div class="row pt-5 pb-4" id="main-widget-area" role="navigation">
<?php
b4st_main_widgets_before();
dynamic_sidebar('main-widget-area');
b4st_main_widgets_after();
?>
</div>
</div>
</section>
<?php endif;
get_footer();
?>