<div id="sidebar"> <?php do_action( 'before_sidebar' ); ?> <?php if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar() ) : ?> <div class="title"><h2><?php _e( 'Browse' ); ?></h2></div> <div class="post"> <select name="archivemenu" onchange="document.location.href=this.options[this.selectedIndex].value;"> <option value=""><?php _e( 'Monthly Archives' ); ?></option> <?php wp_get_archives( array( 'type' => 'monthly', 'format' => 'option' ) ); ?> </select> <?php get_search_form(); ?> </div> <div class="title"><h2><?php _e( 'Links' ); ?></h2></div> <div class="post"> <ul> <?php wp_list_bookmarks( array( 'categorize' => 0, 'title_li' => '', 'show_description' => false ) ); ?> </ul> </div> <div class="title"><h2><?php _e( 'Subscribe' ); ?></h2></div> <div class="post"> <ul> <li><a href="<?php bloginfo( 'rss2_url' ); ?>"><?php _e( 'Entries (RSS)' ); ?></a></li> <li><a href="<?php bloginfo( 'comments_rss2_url' ); ?>"><?php _e( 'Comments (RSS)' ); ?></a></li> </ul> </div> <?php endif; ?> </div>