WordPress.org

Make WordPress Core

Ticket #9702: 9702-theme.patch

File 9702-theme.patch, 1.0 KB (added by ramiy, 10 years ago)

canges in the default theme

  • archive.php

     
    1313
    1414          <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    1515          <?php /* If this is a category archive */ if (is_category()) { ?>
    16                 <h2 class="pagetitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category</h2>
     16                <h2 class="pagetitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category <?php edit_category_link('Edit', ' | ', ''); ?></h2>
    1717          <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    18                 <h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h2>
     18                <h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217; <?php edit_tag_link('Edit', ' | ', ''); ?></h2>
    1919          <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    2020                <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
    2121          <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>