WordPress.org

Make WordPress Core

Ticket #2835: archive.php.diff

File archive.php.diff, 674 bytes (added by paulschreiber, 14 years ago)
  • archive.php

    old new  
    66
    77                 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    88<?php /* If this is a category archive */ if (is_category()) { ?>                               
    9                 <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2>
     9                <h2 class="pagetitle">Archive for the &ldquo;<?php echo single_cat_title(); ?>&rdquo; Category</h2>
    1010               
    1111          <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    1212                <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>