You are on page 1of 3

<?php /** * @package WordPress * @subpackage Theme_Compat * @deprecated 3.

0 * * This file is here for Backwards compatibility with old themes and will be rem oved in a future version * */ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3. 0', null, sprintf( __('Please include a %1$s template in your theme.'), basename (__FILE__) ) ); ?> <div id="sidebar" role="complementary"> <ul> <?php /* Widgetized sidebar, if you have the plugin in stalled. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <li> <?php get_search_form(); ?> </li> <!-- Author information is disabled per default. Uncomme nt and fill in your details if you want to use it. <li><h2><?php _e('Author'); ?></h2> <p>A little something about you, the author. Nothing len gthy, just an overview.</p> </li> --> <?php if ( is_404() || is_category() || is_day() || is_m onth() || is_year() || is_search() || is_p aged() ) { ?> <li> <?php /* If this is a 404 page */ if (is_404()) { ?> <?php /* If this is a category archive */ } elseif (is_c ategory()) { ?> <p><?php printf(__('You are currently browsing the archi ves for the %s category.'), single_cat_title('', false)); ?></p> <?php /* If this is a daily archive */ } elseif (is_day( )) { ?> <p><?php printf(__('You are currently browsing the <a hr ef="%1$s/">%2$s</a> blog archives for the day %3$s.'), get_bloginfo('url'), get_ bloginfo('name'), get_the_time(__('l, F jS, Y'))); ?></p> <?php /* If this is a monthly archive */ } elseif (is_mo nth()) { ?> <p><?php printf(__('You are currently browsing the <a hr ef="%1$s/">%2$s</a> blog archives for %3$s.'), get_bloginfo('url'), get_bloginfo ('name'), get_the_time(__('F, Y'))); ?></p> <?php /* If this is a yearly archive */ } elseif (is_yea r()) { ?> <p><?php printf(__('You are currently browsing the <a hr ef="%1$s/">%2$s</a> blog archives for the year %3$s.'), get_bloginfo('url'), get

_bloginfo('name'), get_the_time('Y')); ?></p> <?php /* If this is a search result */ } elseif (is_sear ch()) { ?> <p><?php printf(__('You have searched the <a href="%1$s/ ">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are una ble to find anything in these search results, you can try one of these links.'), get_bloginfo('url'), get_bloginfo('name'), esc_html( get_search_query() ) ); ?> </p> <?php /* If this set is paginated */ } elseif (isset($_G ET['paged']) && !empty($_GET['paged'])) { ?> <p><?php printf(__('You are currently browsing the <a hr ef="%1$s/">%2$s</a> blog archives.'), get_bloginfo('url'), get_bloginfo('name')) ; ?></p> <?php } ?> </li> <?php }?> </ul> <ul role="navigation"> <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h 2>' ); ?> <li><h2><?php _e('Archives'); ?></h2> <ul> <?php wp_get_archives(array('type' => 'monthly') ); ?> </ul> </li> <?php wp_list_categories(array('show_count' => 1, 'title _li' => '<h2>' . __('Categories') . '</h2>')); ?> </ul> <ul> <?php /* If this is the frontpage */ if ( is_home() || i s_page() ) { ?> <?php wp_list_bookmarks(); ?> <li><h2><?php _e('Meta'); ?></h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://validator.w3.org/che ck/referer" title="<?php esc_attr_e('This page validates as XHTML 1.0 Transition al'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHT ML</abbr>'); ?></a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="<?php esc_attr_e('XHTML Friends Network'); ?>"><?php _e('XFN'); ?></abbr ></a></li> <li><a href="http://wordpress.org/" titl e="<?php esc_attr_e('Powered by WordPress, state-of-the-art semantic personal pu blishing platform.'); ?>">WordPress</a></li> <?php wp_meta(); ?> </ul> </li> <?php } ?> <?php endif; ?>

</ul> </div>

You might also like