Ticket #9702: 9702-theme.patch
File 9702-theme.patch, 1.0 KB (added by , 16 years ago) |
---|
-
archive.php
13 13 14 14 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> 15 15 <?php /* If this is a category archive */ if (is_category()) { ?> 16 <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category </h2>16 <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category <?php edit_category_link('Edit', ' | ', ''); ?></h2> 17 17 <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> 18 <h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’ </h2>18 <h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’ <?php edit_tag_link('Edit', ' | ', ''); ?></h2> 19 19 <?php /* If this is a daily archive */ } elseif (is_day()) { ?> 20 20 <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2> 21 21 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>