2005-01-04 00:20:06 -05:00
|
|
|
<div id="sidebar">
|
|
|
|
<ul>
|
2006-02-12 02:53:23 -05:00
|
|
|
|
2005-01-04 00:20:06 -05:00
|
|
|
<li>
|
|
|
|
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
|
|
|
|
</li>
|
2004-09-08 05:53:20 -04:00
|
|
|
|
2005-01-04 00:20:06 -05:00
|
|
|
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
|
2005-02-27 12:04:45 -05:00
|
|
|
<li><h2>Author</h2>
|
2005-01-04 00:20:06 -05:00
|
|
|
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
|
|
|
|
</li>
|
|
|
|
-->
|
|
|
|
|
2007-03-28 13:31:28 -04:00
|
|
|
<?php if ( is_404() || is_category() || is_day() || is_month() ||
|
|
|
|
is_year() || is_search() || is_paged() ) {
|
|
|
|
?> <li>
|
|
|
|
|
2005-04-03 00:45:01 -05:00
|
|
|
<?php /* If this is a 404 page */ if (is_404()) { ?>
|
|
|
|
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
|
2005-02-15 04:28:12 -05:00
|
|
|
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
|
2006-02-12 02:53:23 -05:00
|
|
|
|
2005-01-04 00:20:06 -05:00
|
|
|
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
|
2007-03-06 22:05:41 -05:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
2005-01-04 00:20:06 -05:00
|
|
|
for the day <?php the_time('l, F jS, Y'); ?>.</p>
|
2006-02-12 02:53:23 -05:00
|
|
|
|
2005-01-04 00:20:06 -05:00
|
|
|
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
2007-03-06 22:05:41 -05:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
2005-01-04 00:20:06 -05:00
|
|
|
for <?php the_time('F, Y'); ?>.</p>
|
|
|
|
|
2006-11-19 02:56:05 -05:00
|
|
|
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
|
2007-03-06 22:05:41 -05:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
2005-01-04 00:20:06 -05:00
|
|
|
for the year <?php the_time('Y'); ?>.</p>
|
2006-02-12 02:53:23 -05:00
|
|
|
|
2006-11-19 02:56:05 -05:00
|
|
|
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
|
2007-03-06 22:05:41 -05:00
|
|
|
<p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
2006-09-07 13:37:26 -04:00
|
|
|
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>
|
2005-01-04 00:20:06 -05:00
|
|
|
|
|
|
|
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
|
2007-03-06 22:05:41 -05:00
|
|
|
<p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
|
2005-01-04 00:20:06 -05:00
|
|
|
|
|
|
|
<?php } ?>
|
2007-03-28 13:31:28 -04:00
|
|
|
|
|
|
|
</li> <?php }?>
|
2005-01-04 00:20:06 -05:00
|
|
|
|
2005-02-27 12:04:45 -05:00
|
|
|
<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
|
2005-01-04 01:39:38 -05:00
|
|
|
|
2005-02-27 12:04:45 -05:00
|
|
|
<li><h2>Archives</h2>
|
2005-01-04 00:20:06 -05:00
|
|
|
<ul>
|
|
|
|
<?php wp_get_archives('type=monthly'); ?>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2007-01-09 03:45:05 -05:00
|
|
|
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
|
2005-01-04 00:20:06 -05:00
|
|
|
|
2006-02-12 02:53:23 -05:00
|
|
|
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
|
2006-06-16 19:35:48 -04:00
|
|
|
<?php wp_list_bookmarks(); ?>
|
2006-02-12 02:53:23 -05:00
|
|
|
|
2005-02-27 12:04:45 -05:00
|
|
|
<li><h2>Meta</h2>
|
2005-01-04 00:20:06 -05:00
|
|
|
<ul>
|
2005-01-24 05:06:53 -05:00
|
|
|
<?php wp_register(); ?>
|
2005-01-04 00:20:06 -05:00
|
|
|
<li><?php wp_loginout(); ?></li>
|
2005-02-27 12:04:45 -05:00
|
|
|
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
|
2005-01-04 00:20:06 -05:00
|
|
|
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
|
2005-02-27 12:04:45 -05:00
|
|
|
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
|
2005-01-04 00:20:06 -05:00
|
|
|
<?php wp_meta(); ?>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<?php } ?>
|
2006-02-12 02:53:23 -05:00
|
|
|
|
2005-01-04 00:20:06 -05:00
|
|
|
</ul>
|
2004-09-08 05:53:20 -04:00
|
|
|
</div>
|
2005-01-04 00:20:06 -05:00
|
|
|
|