-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
32 lines (32 loc) · 905 Bytes
/
sidebar.php
File metadata and controls
32 lines (32 loc) · 905 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
28
29
30
31
32
<?php
/**
* Template part file that contains the default sidebar content
*
* This file is not called by the Theme
*
* @todo Remove if unused
*
* @link http://codex.wordpress.org/Function_Reference/dynamic_sidebar dynamic_sidebar()
* @link http://codex.wordpress.org/Function_Reference/wp_list_categories wp_list_categories()
*
* @package AppTheme
* @copyright Copyright (c) 2010, UpThemes
* @license license.txt GNU General Public License, v3
*
* @since AppTheme 1.0
*/
?>
<div id="sidebar-content">
<ul id="sidebar-one" class="column">
<?php if ( ! dynamic_sidebar( 'primary-aside' ) ) : ?>
<li class="outer grid-x">
<div class="inner">
<h2>Categories</h2>
<ul>
<?php wp_list_categories( 'title_li=' ); ?>
</ul>
</div><!-- /.inner -->
</li><!-- /.outer -->
<?php endif; ?>
</ul><!-- /#sidebar-one -->
</div><!-- /#sidebar-content -->