Changeset 11791
- Timestamp:
- 08/08/2009 02:26:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/sidebar.php
r11013 r11791 27 27 <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> 28 28 29 <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>30 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echobloginfo('name'); ?></a> blog archives29 <?php /* If this is a daily archive */ } elseif (is_day()) { ?> 30 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives 31 31 for the day <?php the_time('l, F jS, Y'); ?>.</p> 32 32 33 33 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 34 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echobloginfo('name'); ?></a> blog archives34 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives 35 35 for <?php the_time('F, Y'); ?>.</p> 36 36 37 37 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> 38 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echobloginfo('name'); ?></a> blog archives38 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives 39 39 for the year <?php the_time('Y'); ?>.</p> 40 40 41 <?php /* If this is a monthly archive*/ } elseif (is_search()) { ?>42 <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echobloginfo('name'); ?></a> blog archives41 <?php /* If this is a search result */ } elseif (is_search()) { ?> 42 <p>You have searched the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives 43 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> 44 44 45 <?php /* If this is a monthly archive*/ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>46 <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echobloginfo('name'); ?></a> blog archives.</p>45 <?php /* If this set is paginated */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> 46 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives.</p> 47 47 48 48 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.