forked from OpenDevelopmentMekong/wp-odm_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
63 lines (54 loc) · 1.48 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php get_header(); ?>
<?php
if (is_front_page()):
$options = get_option('odm_options');
if ($options['frontpage_slider_id']) : ?>
<section id="featured-content" class="page-section hideOnMobile">
<div class="container">
<div class="row">
<div class="sixteen columns">
<?php
if (function_exists('fa_display_slider')):
fa_display_slider($options['frontpage_slider_id']);
endif;
?>
</div>
</div>
</div>
</section>
<?php endif;?>
<section id="homepage-area-1-2" class="page-section">
<div class="container">
<div class="row">
<div class="eight columns">
<?php dynamic_sidebar('homepage-area-1'); ?>
</div>
<div class="eight columns">
<?php dynamic_sidebar('homepage-area-2'); ?>
</div>
</div>
</div>
</section>
<section id="homepage-area-3" class="page-section">
<div class="container">
<div class="row">
<div class="sixteen columns">
<?php dynamic_sidebar('homepage-area-3'); ?>
</div>
</div>
</div>
</section>
<section id="homepage-area-4-5" class="page-section">
<div class="container">
<div class="row">
<div class="eight columns">
<?php dynamic_sidebar('homepage-area-4'); ?>
</div>
<div class="eight columns">
<?php dynamic_sidebar('homepage-area-5'); ?>
</div>
</div>
</div>
</section>
<?php endif; ?>
<?php get_footer(); ?>