-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront-page.php
executable file
·97 lines (88 loc) · 3.07 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?php
get_header();
?>
<body <?php body_class( 'container' ); ?> >
<!-- banner -->
<?php smbr__category_banner(); ?>
<header class="row container-wide header" role="banner">
<div class="header__logo">
<img src="<?php bloginfo('template_url'); ?>/img/logos/logo_bk.png" alt="Concussion Smarts">
</div>
<?php
// slider here
require_once( trailingslashit( get_template_directory() ). 'nav-banner.php' );
?>
</header>
<section class="row container-medium banner-content">
<h1 class="banner-content__heading">
Concussion Education Service
</h1>
<div class='banner-call-to-action'>
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('header_call_to_action') ); ?>
</div>
</section>
</div>
<!-- freshest stories -->
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('body_top_content') ); ?>
<!-- features -->
<div class="row row--white row--padding-wide features">
<div class="row container-medium">
<div class="row features__row">
<div class="col-narrow--right"> <!-- features__top -->
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_features_top_l') ); ?>
</div>
<div class="col-wide">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_features_top_r') ); ?>
</div>
</div>
<div class="row features__row">
<div class="col-narrow">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_features_mid_l') ); ?>
</div>
<div class="col-wide--right features__padding">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_features_mid_r') ); ?>
</div>
</div>
<div class="row features__row">
<div class="col-narrow--right">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_features_bot_l') ); ?>
</div>
<div class="col-wide">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_features_bot_r') ); ?>
</div>
</div>
</div>
</div>
<!-- photos -->
<div class="row">
<div class="col-medium">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_mid_l') ); ?>
</div>
<div class="col-medium">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('front_page_mid_r') ); ?>
</div>
</div>
<!-- testimonials -->
<div class="row row--white row--padding-wide testimonials">
<section class="row container-narrow">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('mid-mid') ); ?>
</section>
</div>
<!-- facts -->
<div class="row row--grey row--padding-wide facts">
<section class="row container-narrow facts-intro">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('mid-mid2') ); ?>
</section>
</div>
<!-- press -->
<div class="row row--blue row--padding-medium press">
<section class="row container-wide">
<?php if ( !function_exists('dynamic_sidebar') || ! dynamic_sidebar('mid-mid3') ); ?>
</section>
</div>
<!-- footer -->
<div class="row row--dark-grey row--padding-medium footer">
<?php get_footer(); ?>
</div>
</body>
</html>