-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
sidebar.php
29 lines (27 loc) · 915 Bytes
/
sidebar.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
<?php nebula()->timer('Sidebar Template'); ?>
<?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; ?>
<?php nebula()->timer('Sidebar Template', 'end'); ?>