2008-09-27 11:49:27 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Default_Theme
|
|
|
|
*/
|
|
|
|
?>
|
2005-01-04 06:20:06 +01:00
|
|
|
<div id="sidebar">
|
|
|
|
<ul>
|
2007-03-31 18:57:50 +02:00
|
|
|
<?php /* Widgetized sidebar, if you have the plugin installed. */
|
|
|
|
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
|
2005-01-04 06:20:06 +01:00
|
|
|
<li>
|
|
|
|
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
|
|
|
|
</li>
|
2004-09-08 11:53:20 +02:00
|
|
|
|
2005-01-04 06:20:06 +01:00
|
|
|
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
|
2005-02-27 18:04:45 +01:00
|
|
|
<li><h2>Author</h2>
|
2005-01-04 06:20:06 +01:00
|
|
|
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
|
|
|
|
</li>
|
|
|
|
-->
|
|
|
|
|
2007-03-28 19:31:28 +02:00
|
|
|
<?php if ( is_404() || is_category() || is_day() || is_month() ||
|
|
|
|
is_year() || is_search() || is_paged() ) {
|
|
|
|
?> <li>
|
|
|
|
|
2005-04-03 07:45:01 +02:00
|
|
|
<?php /* If this is a 404 page */ if (is_404()) { ?>
|
|
|
|
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
|
2005-02-15 10:28:12 +01:00
|
|
|
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
|
2006-02-12 08:53:23 +01:00
|
|
|
|
2005-01-04 06:20:06 +01:00
|
|
|
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
|
2007-07-30 18:32:12 +02:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
|
2005-01-04 06:20:06 +01:00
|
|
|
for the day <?php the_time('l, F jS, Y'); ?>.</p>
|
2006-02-12 08:53:23 +01:00
|
|
|
|
2005-01-04 06:20:06 +01:00
|
|
|
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
2007-07-30 18:32:12 +02:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
|
2005-01-04 06:20:06 +01:00
|
|
|
for <?php the_time('F, Y'); ?>.</p>
|
|
|
|
|
2006-11-19 08:56:05 +01:00
|
|
|
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
|
2007-07-30 18:32:12 +02:00
|
|
|
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
|
2005-01-04 06:20:06 +01:00
|
|
|
for the year <?php the_time('Y'); ?>.</p>
|
2006-02-12 08:53:23 +01:00
|
|
|
|
2006-11-19 08:56:05 +01:00
|
|
|
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
|
2007-07-30 18:32:12 +02:00
|
|
|
<p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
|
2006-09-07 19:37:26 +02: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 06:20:06 +01:00
|
|
|
|
|
|
|
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
|
2007-07-30 18:32:12 +02:00
|
|
|
<p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p>
|
2005-01-04 06:20:06 +01:00
|
|
|
|
|
|
|
<?php } ?>
|
2007-06-14 04:25:30 +02:00
|
|
|
|
2007-03-28 19:31:28 +02:00
|
|
|
</li> <?php }?>
|
2005-01-04 06:20:06 +01:00
|
|
|
|
2005-02-27 18:04:45 +01:00
|
|
|
<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
|
2005-01-04 07:39:38 +01:00
|
|
|
|
2005-02-27 18:04:45 +01:00
|
|
|
<li><h2>Archives</h2>
|
2005-01-04 06:20:06 +01:00
|
|
|
<ul>
|
|
|
|
<?php wp_get_archives('type=monthly'); ?>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2007-01-09 09:45:05 +01:00
|
|
|
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
|
2005-01-04 06:20:06 +01:00
|
|
|
|
2006-02-12 08:53:23 +01:00
|
|
|
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
|
2006-06-17 01:35:48 +02:00
|
|
|
<?php wp_list_bookmarks(); ?>
|
2006-02-12 08:53:23 +01:00
|
|
|
|
2005-02-27 18:04:45 +01:00
|
|
|
<li><h2>Meta</h2>
|
2005-01-04 06:20:06 +01:00
|
|
|
<ul>
|
2005-01-24 11:06:53 +01:00
|
|
|
<?php wp_register(); ?>
|
2005-01-04 06:20:06 +01:00
|
|
|
<li><?php wp_loginout(); ?></li>
|
2005-02-27 18:04:45 +01: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 06:20:06 +01:00
|
|
|
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
|
2005-02-27 18:04:45 +01: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 06:20:06 +01:00
|
|
|
<?php wp_meta(); ?>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<?php } ?>
|
2007-06-14 04:25:30 +02:00
|
|
|
|
2007-03-31 18:57:50 +02:00
|
|
|
<?php endif; ?>
|
2005-01-04 06:20:06 +01:00
|
|
|
</ul>
|
2004-09-08 11:53:20 +02:00
|
|
|
</div>
|
2005-01-04 06:20:06 +01:00
|
|
|
|