-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-home-page.php
53 lines (38 loc) · 1.53 KB
/
template-home-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
<?php
/*
Template Name: Home Page
*/
get_header(); ?>
<div id="content" class="container">
<div class="row">
<div class="twelvecol" role="main">
<?php
/* Run the loop to output the page.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/
get_template_part( 'loop', 'page' );
?>
</div><!-- row -->
<?php if ( is_active_sidebar( '1-2-home-widget-area' ) || is_active_sidebar( '2-2-home-widget-area' ) ) : ?>
<div class="row">
<?php dynamic_sidebar( '1-2-home-widget-area' ); ?>
<?php dynamic_sidebar( '2-2-home-widget-area' ); ?>
<div class="clear"></div>
</div>
<?php endif; ?>
<div class="row">
<?php if ( is_active_sidebar( '1-3-home-widget-area' ) ) : ?>
<?php dynamic_sidebar( '1-3-home-widget-area' ); ?>
<?php endif; ?>
<?php if ( is_active_sidebar( '2-3-home-widget-area' ) ) : ?>
<?php dynamic_sidebar( '2-3-home-widget-area' ); ?>
<?php endif; ?>
<?php if ( is_active_sidebar( '3-3-home-widget-area' ) ) : ?>
<?php dynamic_sidebar( '3-3-home-widget-area' ); ?>
<?php endif; ?>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div><!-- #container -->
<?php get_footer(); ?>