2008-09-27 05:49:27 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Default_Theme
|
|
|
|
*/
|
|
|
|
?>
|
2009-04-16 12:42:32 -04:00
|
|
|
<div id="sidebar" role="complementary">
|
2005-01-04 00:20:06 -05:00
|
|
|
<ul>
|
2007-03-31 12:57:50 -04:00
|
|
|
<?php /* Widgetized sidebar, if you have the plugin installed. */
|
|
|
|
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
|
2005-01-04 00:20:06 -05:00
|
|
|
<li>
|
2008-10-17 16:39:56 -04:00
|
|
|
<?php get_search_form(); ?>
|
2005-01-04 00:20:06 -05:00
|
|
|
</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
|
|
|
|
2009-08-08 10:26:49 -04:00
|
|
|
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
|
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog 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()) { ?>
|
2009-08-08 10:26:49 -04:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog 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()) { ?>
|
2009-08-08 10:26:49 -04:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog 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
|
|
|
|
2009-08-08 10:26:49 -04:00
|
|
|
<?php /* If this is a search result */ } elseif (is_search()) { ?>
|
|
|
|
<p>You have searched the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog 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
|
|
|
|
2009-08-08 10:26:49 -04:00
|
|
|
<?php /* If this set is paginated */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
|
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives.</p>
|
2005-01-04 00:20:06 -05:00
|
|
|
|
|
|
|
<?php } ?>
|
2007-06-13 22:25:30 -04:00
|
|
|
|
2009-04-16 12:42:32 -04:00
|
|
|
</li>
|
|
|
|
<?php }?>
|
2009-04-20 14:18:39 -04:00
|
|
|
</ul>
|
2009-04-16 12:42:32 -04:00
|
|
|
<ul role="navigation">
|
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>
|
2010-01-08 03:34:39 -05:00
|
|
|
<?php wp_get_archives(array('type' => 'monthly')); ?>
|
2005-01-04 00:20:06 -05:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2010-01-08 03:34:39 -05:00
|
|
|
<?php wp_list_categories(array('show_count' => 1, 'title_li' => '<h2>Categories</h2>')); ?>
|
2009-04-16 12:42:32 -04:00
|
|
|
</ul>
|
|
|
|
<ul>
|
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 } ?>
|
2007-06-13 22:25:30 -04:00
|
|
|
|
2007-03-31 12:57:50 -04:00
|
|
|
<?php endif; ?>
|
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
|
|
|
|