X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/959f97d8ecd5c1668103a3e41c795486b944bc68..80e421fa26a0ef412d7c67749a64a6c1919d515a:/wp-content/themes/default/archive.php
diff --git a/wp-content/themes/default/archive.php b/wp-content/themes/default/archive.php
index 8ec2e2b5..70c2a8ce 100644
--- a/wp-content/themes/default/archive.php
+++ b/wp-content/themes/default/archive.php
@@ -1,6 +1,13 @@
-
+
+get_header();
+?>
+
+
+
-
-
-
-
Not Found
-
-
-
+ Sorry, but there aren't any posts in the %s category yet.", 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.
");
+ } 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.
", $userdata->display_name);
+ } else {
+ echo("
No posts found.
");
+ }
+ get_search_form();
+
+ endif;
+?>