Use single_tag_title() on tag pages in the Default theme. Props Andy. fixes #4876
git-svn-id: http://svn.automattic.com/wordpress/trunk@5996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a2cac0cf09
commit
c8d7b27ed2
|
@ -8,7 +8,7 @@
|
||||||
<?php /* If this is a category archive */ if (is_category()) { ?>
|
<?php /* If this is a category archive */ if (is_category()) { ?>
|
||||||
<h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
|
<h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
|
||||||
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
|
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
|
||||||
<h2 class="pagetitle">Posts Tagged ‘<?php single_cat_title(); ?>’</h2>
|
<h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
|
||||||
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
|
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
|
||||||
<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
|
<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
|
||||||
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
||||||
|
|
Loading…
Reference in New Issue