Make WordPress Core

Ticket #4506: archive.php.patch

File archive.php.patch, 867 bytes (added by pishmishy, 17 years ago)

uses new function in default theme

  • wp-content/themes/default/archive.php

     
    88          <?php /* If this is a category archive */ if (is_category()) { ?>
    99                <h2 class="pagetitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category</h2>
    1010          <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    11                 <h2 class="pagetitle">Posts Tagged &#8216;<?php single_cat_title(); ?>&#8217;</h2>
     11                <h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h2>
    1212          <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    1313                <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
    1414          <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>