summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/default/sidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-content/themes/default/sidebar.php')
-rw-r--r--wp-content/themes/default/sidebar.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/wp-content/themes/default/sidebar.php b/wp-content/themes/default/sidebar.php
index b20b5de..a45b1bb 100644
--- a/wp-content/themes/default/sidebar.php
+++ b/wp-content/themes/default/sidebar.php
@@ -1,6 +1,14 @@
<div id="sidebar">
<ul>
+<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : ?>
+
+ </ul>
+ </div>
+<?php return; ?>
+
+<?php endif; ?>
+
<li>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</li>
@@ -24,11 +32,11 @@
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p>
- <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
+ <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p>
- <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
+ <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
@@ -38,7 +46,7 @@
<?php } ?>
</li>
- <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
+ <?php wp_list_pages('title_li=<h2>Pages</h2>&sort_column=post_title&sort_order=ASC'); ?>
<li><h2>Archives</h2>
<ul>