-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar-left-2-col-bottom.php
48 lines (42 loc) · 1.29 KB
/
sidebar-left-2-col-bottom.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
<?php
/**
* The Left 2 column sidebar - wide bottom
*
* @package WordPress
* @subpackage Weaver II
* @since Weaver II 1.0
*/
?>
<div id="sidebar_wrap_left" class="left-2-col equal_height">
<?php
weaverii_trace_sidebar(__FILE__);
weaverii_inject_area('presidebar_left');
// Upper/Left -----------------------
if (!weaverii_is_checked_page_opt('hide_sidebar_left') && !weaverii_replace_left()) {
// The Upper/Left Widget Area
if ( is_active_sidebar( 'left-widget-area' ) ) { ?>
<div id="sidebar_wrap_2_left_left">
<div id="sidebar_left" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'left-widget-area' ); ?>
</div><!-- #sidebar_left .widget-area -->
</div>
<?php
}
}
// Lower/Right -----------------------
if (!weaverii_is_checked_page_opt('hide_sidebar_right') && !weaverii_replace_right()) {
// The Lower/right Widget Area
if ( is_active_sidebar( 'right-widget-area' ) ) { ?>
<div id="sidebar_wrap_2_left_right">
<div id="sidebar_right" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'right-widget-area' ); ?>
</div><!-- #sidebar_right .widget-area -->
</div><!-- #sidebar_wrap_2_left_right -->
<?php
}
}
weaverii_show_primary_sidebar(); // show default primary widget area
?>
</div><!-- #sidebar_wrap_right -->
<?php
?>