From 9a4874ec7a1431f982ba28f66f8467c255ab2143 Mon Sep 17 00:00:00 2001 From: lancewillett Date: Tue, 28 Feb 2012 03:48:34 +0000 Subject: [PATCH] Twenty Twelve: better "no posts found" message and action for index view. If a logged-in user can edit posts, show an appropriate message. Otherwise, show the normal "no posts found" message. See #19978. git-svn-id: http://svn.automattic.com/wordpress/trunk@20006 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwelve/index.php | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwelve/index.php b/wp-content/themes/twentytwelve/index.php index 194848603..2307c951e 100644 --- a/wp-content/themes/twentytwelve/index.php +++ b/wp-content/themes/twentytwelve/index.php @@ -28,17 +28,34 @@ get_header(); ?>
+ +
-

+

+
+ +
+

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

+
+ + +
+

+ +
- +