From e932aaadc4116d1c35b53394b37a83c098f88dc1 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Fri, 10 Feb 2012 20:36:53 +0000 Subject: [PATCH] _s: provide a more helpful message to users with no posts on the home page or none at all; See #1112 git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8917 d957f892-c61d-0410-b221-f235e6eecf30 --- functions.php | 10 +++++----- index.php | 7 +++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/functions.php b/functions.php index 3a09eef..fdd0210 100644 --- a/functions.php +++ b/functions.php @@ -79,11 +79,6 @@ function _s_setup() { endif; // _s_setup add_action( 'after_setup_theme', '_s_setup' ); -/** - * Implement the Custom Header feature - */ -//require( get_template_directory() . '/inc/custom-header.php' ); - /** * Register widgetized area and update sidebar with default widgets * @@ -109,3 +104,8 @@ function _s_scripts() { wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', 'jquery', '20120206', true ); } add_action( 'wp_enqueue_scripts', '_s_scripts' ); + +/** + * Implement the Custom Header feature + */ +//require( get_template_directory() . '/inc/custom-header.php' ); diff --git a/index.php b/index.php index 0c7d86a..e3f1455 100644 --- a/index.php +++ b/index.php @@ -36,16 +36,15 @@ get_header(); ?> - +
-

+

-

- +

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