-
Notifications
You must be signed in to change notification settings - Fork 1
/
front-page.php
70 lines (40 loc) · 1.15 KB
/
front-page.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
63
64
65
66
67
68
69
70
<?php
$au_boolean = get_theme_mod('au_boolean');
if(!$au_boolean) {
get_header();
}
else {
get_header('au');
}
?>
<div id="main-content" class="band">
<main id="main" class="container-fluid aria-target" tabindex="-1">
<div class="row">
<?php get_sidebar('top'); ?>
<article id="main-article" class="primary">
<?php
if (function_exists('cwd_base_breadcrumbs')) cwd_base_breadcrumbs();
get_template_part('templates/page/content', 'title');
if (have_posts()): while (have_posts()) : the_post(); // The loop
get_template_part('templates/page/content', 'page');
if ( comments_open() || get_comments_number() ) {
comments_template('/templates/comments.php');
}
endwhile;
else:
get_template_part('templates/page/content', 'none');
endif;
?>
<?php
if( is_active_sidebar('widget-area-4') ) {
dynamic_sidebar('widget-area-4');
}
?>
</article>
<?php get_sidebar('bottom'); ?>
</div>
</main>
</div>
<?php get_template_part('templates/page/color', 'bands'); ?>
<?php
get_footer();