From 2a1dff3136a8704a91295007c7a79ce6db1edc9b Mon Sep 17 00:00:00 2001 From: Lance Willett 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: https://develop.svn.wordpress.org/trunk@20006 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 1948486036..2307c951ea 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' ) ); ?>

+
+ + +
+

+ +
- +