WordPress.org

Make WordPress Core

Changeset 5996


Ignore:
Timestamp:
08/30/2007 07:54:46 PM (14 years ago)
Author:
markjaquith
Message:

Use single_tag_title() on tag pages in the Default theme. Props Andy. fixes #4876

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/archive.php

    r5664 r5996  
    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>
Note: See TracChangeset for help on using the changeset viewer.