Don't put query description in sidebar if is_404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d27f6e58e6
commit
7ee667d4a9
|
@ -12,7 +12,8 @@
|
|||
-->
|
||||
|
||||
<li>
|
||||
<?php /* If this is a category archive */ if (is_category()) { ?>
|
||||
<?php /* If this is a 404 page */ if (is_404()) { ?>
|
||||
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
|
||||
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
|
||||
|
||||
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
|
||||
|
|
Loading…
Reference in New Issue