- File:
-
- 1 edited
-
trunk/wp-content/themes/default/sidebar.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/sidebar.php
r4171 r3134 1 1 <div id="sidebar"> 2 2 <ul> 3 3 4 4 <li> 5 5 <?php include (TEMPLATEPATH . '/searchform.php'); ?> … … 16 16 <?php /* If this is a category archive */ } elseif (is_category()) { ?> 17 17 <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> 18 18 19 19 <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> 20 20 <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives 21 21 for the day <?php the_time('l, F jS, Y'); ?>.</p> 22 22 23 23 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 24 24 <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives … … 28 28 <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives 29 29 for the year <?php the_time('Y'); ?>.</p> 30 30 31 31 <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> 32 32 <p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives 33 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>33 for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> 34 34 35 35 <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> … … 47 47 </li> 48 48 49 <?php wp_list_categories('optioncount=1&hierarchical=0&title_li=<h2>Categories</h2>'); ?> 49 <li><h2>Categories</h2> 50 <ul> 51 <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> 52 </ul> 53 </li> 50 54 51 <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> 52 <?php wp_list_bookmarks(); ?>53 55 <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> 56 <?php get_links_list(); ?> 57 54 58 <li><h2>Meta</h2> 55 59 <ul> … … 63 67 </li> 64 68 <?php } ?> 65 69 66 70 </ul> 67 71 </div>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)