forked from chrisblakley/Nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
27 lines (25 loc) · 816 Bytes
/
sidebar.php
File metadata and controls
27 lines (25 loc) · 816 Bytes
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
<?php if ( get_theme_mod('sidebar_position') !== 'off' ): ?>
<div class="col-md-3 <?php echo ( get_theme_mod('sidebar_position') === 'left' )? 'nebula-flex-first' : 'offset-md-1'; ?>">
<aside id="sidebar-section" role="complementary">
<div class="row">
<div class="col">
<?php do_action('nebula_sidebar_open'); ?>
</div><!--/col-->
</div><!--/row-->
<div class="row">
<div class="col">
<?php if ( is_active_sidebar('primary-widget-area') ): ?>
<ul class="xoxo">
<?php dynamic_sidebar('primary-widget-area'); ?>
</ul>
<?php endif; ?>
</div><!--/col-->
</div><!--/row-->
<div class="row">
<div class="col">
<?php do_action('nebula_sidebar_close'); ?>
</div><!--/col-->
</div><!--/row-->
</aside>
</div><!--/col-->
<?php endif; ?>