forked from iGovPhil/gwt-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar-panel-bottom.php
38 lines (37 loc) · 1.51 KB
/
sidebar-panel-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
<?php
/**
* The Sidebar containing the main widget areas.
*
* @package gwt_wp
*/
?>
<?php if(is_active_sidebar('panel-bottom-1') || is_active_sidebar('panel-bottom-2') || is_active_sidebar('panel-bottom-3') || is_active_sidebar('panel-bottom-4')): ?>
<div id="panel-bottom" class="anchor" role="complementary">
<div class="row">
<?php if(is_active_sidebar('panel-bottom-1')): ?>
<aside id="panel-bottom-1" class="<?php govph_displayoptions( 'govph_position_panel_bottom' ); ?>" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php dynamic_sidebar( 'panel-bottom-1' ) ?>
</aside>
<?php endif; ?>
<?php if(is_active_sidebar('panel-bottom-2')): ?>
<aside id="panel-bottom-2" class="<?php govph_displayoptions( 'govph_position_panel_bottom' ); ?>" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php dynamic_sidebar( 'panel-bottom-2' ) ?>
</aside>
<?php endif; ?>
<?php if(is_active_sidebar('panel-bottom-3')): ?>
<aside id="panel-bottom-3" class="<?php govph_displayoptions( 'govph_position_panel_bottom' ); ?>" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php dynamic_sidebar( 'panel-bottom-3' ) ?>
</aside>
<?php endif; ?>
<?php if(is_active_sidebar('panel-bottom-4')): ?>
<aside id="panel-bottom-4" class="<?php govph_displayoptions( 'govph_position_panel_bottom' ); ?>" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php dynamic_sidebar( 'panel-bottom-4' ) ?>
</aside>
<?php endif; ?>
</div>
</div>
<?php endif; ?>