-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsidebar.php
More file actions
27 lines (23 loc) · 747 Bytes
/
Copy pathsidebar.php
File metadata and controls
27 lines (23 loc) · 747 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
/* ------------------------------------------------------------------------- *
* Sidebar template
/* ------------------------------------------------------------------------- */
/**
* Filtered CSS classes
* ------
* div#sidebar-index: grid-col grid-sidebar-col last-col sidebar clearfix
* ------
*/
?>
<div id="sidebar-index" role="complementary" class="<?php businessx_occ( 'businessx_sidebar___default_classes' ); ?>">
<?php
do_action( 'businessx_sidebar__index_top' );
// Display widgets
if ( is_active_sidebar( 'sidebar-index' ) ) {
dynamic_sidebar( 'sidebar-index' );
} else {
businessx_sidebars_demo_widgets( __( 'Index Sidebar', 'businessx' ) );
}
do_action( 'businessx_sidebar__index_bottom' );
?>
</div>