mp-wp_genesis 1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * @package WordPress
mp-wp_genesis 4 * @subpackage Default_Theme
mp-wp_genesis 5 */
mp-wp_genesis 6 ?>
mp-wp_genesis 7 <div id="sidebar">
mp-wp_genesis 8 <ul>
mp-wp_genesis 9 <?php /* Widgetized sidebar, if you have the plugin installed. */
mp-wp_genesis 10 if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
mp-wp_genesis 11 <li>
mp-wp_genesis 12 <?php get_search_form(); ?>
mp-wp_genesis 13 </li>
mp-wp_genesis 14
mp-wp_genesis 15 <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
mp-wp_genesis 16 <li><h2>Author</h2>
mp-wp_genesis 17 <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
mp-wp_genesis 18 </li>
mp-wp_genesis 19 -->
mp-wp_genesis 20
mp-wp_genesis 21 <?php if ( is_404() || is_category() || is_day() || is_month() ||
mp-wp_genesis 22 is_year() || is_search() || is_paged() ) {
mp-wp_genesis 23 ?> <li>
mp-wp_genesis 24
mp-wp_genesis 25 <?php /* If this is a 404 page */ if (is_404()) { ?>
mp-wp_genesis 26 <?php /* If this is a category archive */ } elseif (is_category()) { ?>
mp-wp_genesis 27 <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
mp-wp_genesis 28
mp-wp_genesis 29 <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
mp-wp_genesis 30 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
mp-wp_genesis 31 for the day <?php the_time('l, F jS, Y'); ?>.</p>
mp-wp_genesis 32
mp-wp_genesis 33 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
mp-wp_genesis 34 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
mp-wp_genesis 35 for <?php the_time('F, Y'); ?>.</p>
mp-wp_genesis 36
mp-wp_genesis 37 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
mp-wp_genesis 38 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
mp-wp_genesis 39 for the year <?php the_time('Y'); ?>.</p>
mp-wp_genesis 40
mp-wp_genesis 41 <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
mp-wp_genesis 42 <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
mp-wp_genesis 43 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>
mp-wp_genesis 44
mp-wp_genesis 45 <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
mp-wp_genesis 46 <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p>
mp-wp_genesis 47
mp-wp_genesis 48 <?php } ?>
mp-wp_genesis 49
mp-wp_genesis 50 </li> <?php }?>
mp-wp_genesis 51
mp-wp_genesis 52 <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
mp-wp_genesis 53
mp-wp_genesis 54 <li><h2>Archives</h2>
mp-wp_genesis 55 <ul>
mp-wp_genesis 56 <?php wp_get_archives('type=monthly'); ?>
mp-wp_genesis 57 </ul>
mp-wp_genesis 58 </li>
mp-wp_genesis 59
mp-wp_genesis 60 <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
mp-wp_genesis 61
mp-wp_genesis 62 <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
mp-wp_genesis 63 <?php wp_list_bookmarks(); ?>
mp-wp_genesis 64
mp-wp_genesis 65 <li><h2>Meta</h2>
mp-wp_genesis 66 <ul>
mp-wp_genesis 67 <?php wp_register(); ?>
mp-wp_genesis 68 <li><?php wp_loginout(); ?></li>
mp-wp_genesis 69 <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>
mp-wp_genesis 70 <?php wp_meta(); ?>
mp-wp_genesis 71 </ul>
mp-wp_genesis 72 </li>
mp-wp_genesis 73 <?php } ?>
mp-wp_genesis 74
mp-wp_genesis 75 <?php endif; ?>
mp-wp_genesis 76 </ul>
mp-wp_genesis 77 </div>
mp-wp_genesis 78