[ Index ] |
WordPress Cross Reference |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Theme_Compat 5 * @deprecated 3.0 6 * 7 * This file is here for Backwards compatibility with old themes and will be removed in a future version 8 * 9 */ 10 _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) ); 11 ?> 12 <div id="sidebar" role="complementary"> 13 <ul> 14 <?php /* Widgetized sidebar, if you have the plugin installed. */ 15 if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> 16 <li> 17 <?php get_search_form(); ?> 18 </li> 19 20 <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. 21 <li><h2><?php _e('Author'); ?></h2> 22 <p>A little something about you, the author. Nothing lengthy, just an overview.</p> 23 </li> 24 --> 25 26 <?php if ( is_404() || is_category() || is_day() || is_month() || 27 is_year() || is_search() || is_paged() ) { 28 ?> <li> 29 30 <?php /* If this is a 404 page */ if (is_404()) { ?> 31 <?php /* If this is a category archive */ } elseif (is_category()) { ?> 32 <p><?php printf(__('You are currently browsing the archives for the %s category.'), single_cat_title('', false)); ?></p> 33 34 <?php /* If this is a daily archive */ } elseif (is_day()) { ?> 35 <p><?php printf(__('You are currently browsing the <a href="%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> 36 37 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 38 <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for %3$s.'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('F, Y'))); ?></p> 39 40 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> 41 <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the year %3$s.'), get_bloginfo('url'), get_bloginfo('name'), get_the_time('Y')); ?></p> 42 43 <?php /* If this is a search result */ } elseif (is_search()) { ?> 44 <p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>‘%3$s’</strong>. If you are unable 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> 45 46 <?php /* If this set is paginated */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> 47 <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives.'), get_bloginfo('url'), get_bloginfo('name')); ?></p> 48 49 <?php } ?> 50 51 </li> 52 <?php }?> 53 </ul> 54 <ul role="navigation"> 55 <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?> 56 57 <li><h2><?php _e('Archives'); ?></h2> 58 <ul> 59 <?php wp_get_archives(array('type' => 'monthly')); ?> 60 </ul> 61 </li> 62 63 <?php wp_list_categories(array('show_count' => 1, 'title_li' => '<h2>' . __('Categories') . '</h2>')); ?> 64 </ul> 65 <ul> 66 <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> 67 <?php wp_list_bookmarks(); ?> 68 69 <li><h2><?php _e('Meta'); ?></h2> 70 <ul> 71 <?php wp_register(); ?> 72 <li><?php wp_loginout(); ?></li> 73 <li><a href="http://validator.w3.org/check/referer" title="<?php esc_attr_e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li> 74 <li><a href="http://gmpg.org/xfn/"><abbr title="<?php esc_attr_e('XHTML Friends Network'); ?>"><?php _e('XFN'); ?></abbr></a></li> 75 <li><a href="http://wordpress.org/" title="<?php esc_attr_e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li> 76 <?php wp_meta(); ?> 77 </ul> 78 </li> 79 <?php } ?> 80 81 <?php endif; ?> 82 </ul> 83 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 25 01:41:18 2014 | WordPress honlapkészítés: online1.hu |