Changeset 5149 for trunk/wp-content/themes/default/archive.php
- Timestamp:
- 03/31/2007 06:16:12 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/archive.php
r5105 r5149 2 2 3 3 <div id="content" class="narrowcolumn"> 4 4 <?php is_tag(); ?> 5 5 <?php if (have_posts()) : ?> 6 6 … … 8 8 <?php /* If this is a category archive */ if (is_category()) { ?> 9 9 <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2> 10 10 <?php } elseif( is_tag() ) { ?> 11 <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Tag</h2> 11 12 <?php /* If this is a daily archive */ } elseif (is_day()) { ?> 12 13 <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2> … … 41 42 </div> 42 43 43 <p class="postmetadata"> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>44 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> 44 45 45 46 </div>
Note: See TracChangeset
for help on using the changeset viewer.