Changeset 1189 for trunk/buddypress-theme/buddypress-home/archive.php
- Timestamp:
- 03/09/2009 08:26:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/buddypress-theme/buddypress-home/archive.php
r1138 r1189 9 9 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> 10 10 <?php /* If this is a category archive */ if (is_category()) { ?> 11 <h3 class="pageTitle"><?php _e( 'Archive for the', 'buddypress' ) ?> ‘<?php single_cat_title(); ?>’ <?php _e( 'Category', 'buddypress' ) ?></h 2>11 <h3 class="pageTitle"><?php _e( 'Archive for the', 'buddypress' ) ?> ‘<?php single_cat_title(); ?>’ <?php _e( 'Category', 'buddypress' ) ?></h3> 12 12 13 13 <?php /* If this is a daily archive */ } elseif (is_day()) { ?> 14 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F jS, Y'); ?></h 2>14 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F jS, Y'); ?></h3> 15 15 16 16 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 17 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F, Y'); ?></h 2>17 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F, Y'); ?></h3> 18 18 19 19 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> 20 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('Y'); ?></h 2>20 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('Y'); ?></h3> 21 21 22 22 <?php /* If this is an author archive */ } elseif (is_author()) { ?> 23 <h3 class="pageTitle"><?php _e( 'Author Archive', 'buddypress' ) ?></h 2>23 <h3 class="pageTitle"><?php _e( 'Author Archive', 'buddypress' ) ?></h3> 24 24 25 25 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> 26 <h3 class="pageTitle"><?php _e( 'Blog Archives', 'buddypress' ) ?></h 2>26 <h3 class="pageTitle"><?php _e( 'Blog Archives', 'buddypress' ) ?></h3> 27 27 28 28 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.