Make WordPress Core

Ticket #4133: 4133.diff

File 4133.diff, 737 bytes (added by johnbillion, 20 years ago)

Improve text of tag archive heading

  • 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 } elseif( is_tag() ) { ?>
    11 <h2 class="pagetitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Tag</h2>
     11<h2 class="pagetitle">Posts tagged with &#8216;<?php single_cat_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