is_year() ||
is_search() ||
is_paged() ) :
?>
<li>
<?php
if ( is_404() ) : /* If this is a 404 page */ ?>
<?php
elseif ( is_category() ) : /* If this is a category archive */ ?>
<p>
<?php
printf( /* translators: %s: Category name. */
__( 'You are currently browsing the archives for the %s category.'
),
single_cat_title( '', false
) );
?>
</p>
<?php
elseif ( is_day() ) : /* If this is a daily archive */ ?>
<p>
<?php
printf( /* translators: 1: Site link, 2: Archive date. */
__( 'You are currently browsing the %1$s blog archives for the day %2$s.'
),
sprintf( '<a href="%1$s/">%2$s</a>',
get_bloginfo( 'url'
),
get_bloginfo( 'name'
) ),