Make WordPress Core

Changeset 2511


Ignore:
Timestamp:
04/03/2005 05:45:01 AM (20 years ago)
Author:
ryan
Message:

Don't put query description in sidebar if is_404.

File:
1 edited

Legend:

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

    r2390 r2511  
    1313
    1414            <li>
    15             <?php /* If this is a category archive */ if (is_category()) { ?>
     15            <?php /* If this is a 404 page */ if (is_404()) { ?>
     16            <?php /* If this is a category archive */ } elseif (is_category()) { ?>
    1617            <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
    1718           
Note: See TracChangeset for help on using the changeset viewer.