From 2d483c65292d95498de2e646235cbfafd8afe9fa Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 15 Jul 2009 17:11:35 -0400 Subject: [PATCH] clean up archive.php some more --- archive.php | 16 +++------------- partials/archive-not-found.inc | 8 ++++++++ 2 files changed, 11 insertions(+), 13 deletions(-) create mode 100644 partials/archive-not-found.inc diff --git a/archive.php b/archive.php index 07f26f7..cbea50c 100644 --- a/archive.php +++ b/archive.php @@ -18,19 +18,9 @@ } include(get_template_directory() . '/partials/archive-page-nav.inc'); - - - -
-
-

No entries found.

-

Try another search?

-

-
-
-
- - + } else { + include(get_template_directory() . '/partials/archive-not-found.inc'); + } ?> diff --git a/partials/archive-not-found.inc b/partials/archive-not-found.inc new file mode 100644 index 0000000..49d4c1e --- /dev/null +++ b/partials/archive-not-found.inc @@ -0,0 +1,8 @@ +
+
+

No entries found.

+

Try another search?

+

+
+
+