From 43ea44cb447dbbc653f0d592671fc2ff92dfca6c Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Thu, 29 Mar 2012 15:55:33 +0000 Subject: [PATCH] _s: Simplifying search, index, and archive, with a common no posts found template part, no-results.php; Closes #1187 git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9340 d957f892-c61d-0410-b221-f235e6eecf30 --- archive.php | 11 +---------- index.php | 10 +--------- no-results.php | 34 ++++++++++++++++++++++++++++++++++ search.php | 11 +---------- 4 files changed, 37 insertions(+), 29 deletions(-) create mode 100644 no-results.php diff --git a/archive.php b/archive.php index 1d6c7f75..cec3654e 100644 --- a/archive.php +++ b/archive.php @@ -88,16 +88,7 @@ get_header(); ?> -
-
-

-
- -
-

- -
-
+ diff --git a/index.php b/index.php index e3f14554..27d8cbf5 100644 --- a/index.php +++ b/index.php @@ -38,15 +38,7 @@ get_header(); ?> -
-
-

-
- -
-

Get started here.', '_s' ), admin_url( 'post-new.php' ) ); ?>

-
-
+ diff --git a/no-results.php b/no-results.php new file mode 100644 index 00000000..08c38221 --- /dev/null +++ b/no-results.php @@ -0,0 +1,34 @@ + + +
+
+

+
+ +
+ + +

Get started here.', '_s' ), admin_url( 'post-new.php' ) ); ?>

+ + + +

+ + + + +

+ + + +
+
diff --git a/search.php b/search.php index 4f3f0f0e..37236991 100644 --- a/search.php +++ b/search.php @@ -30,16 +30,7 @@ get_header(); ?> -
-
-

-
- -
-

- -
-
+