-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsidebar.php
executable file
·41 lines (31 loc) · 1.16 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* The Sidebar containing the primary and secondary widget areas.
*
* @package AgriFlex
* @since AgriFlex 1.0
*/
?>
<div id="aside">
<?php agriflex_before_sidebar(); ?>
<div id="aside-widget-area-1">
<div id="primary" class="widget-area" role="complementary">
<ul class="xoxo">
<!-- When we call the dynamic_sidebar() function, it'll spit out
the widgets for that widget area. If it instead returns false,
then the sidebar simply doesn't exist, so we'll hard-code in
some default sidebar stuff just in case. -->
<?php if ( ! dynamic_sidebar( 'right-column-widget-area' ) ) : ?>
<?php endif; // end primary widget area ?>
</ul>
</div><!-- #primary .widget-area -->
</div><!-- #aside-widget-area-1 -->
<div class="sidebar-widget-navigation" role="complementary">
<ul id="sidebar-navigation-widgets" class="xoxo">
<?php if ( ! dynamic_sidebar( 'sidebar-widget-navigation' ) ) : ?>
<?php endif; // end aside widget area ?>
</ul>
</div><!-- #sidebar-navigation-widgets -->
<?php get_sidebar( 'widgets' ); ?>
<?php agriflex_after_sidebar(); ?>
</div><!-- #aside -->