if ( is_category() ) { // If this is a category archive
printf('
'.__('Sorry, but there aren\'t any posts in the %s category yet', 'wpzoom').'
', single_cat_title('',false)); } else if ( is_date() ) { // If this is a date archive echo(''.__('Sorry, but there aren\'t any posts with this date', 'wpzoom').'.
'); } else if ( is_author() ) { // If this is a category archive $userdata = get_userdatabylogin(get_query_var('author_name')); printf(''.__('Sorry, but there aren\'t any posts by %s yet', 'wpzoom').'
', $userdata->display_name); } else { echo(''.__('No posts found', 'wpzoom').'
'); } ?>