From a47b1523dd6968b8d036472339b76798e060ca48 Mon Sep 17 00:00:00 2001 From: michiecat Date: Wed, 17 Apr 2013 16:46:57 -0700 Subject: [PATCH 1/7] Updates to the _s_admin_header_image() callback Adding a ".displaying-header-text" class to the header h1 and to the site description div inside _s_admin_header_image(). This allows the "display text with your image" toggle button to work in the admin preview under Appearance > Header. --- inc/custom-header.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/custom-header.php b/inc/custom-header.php index 1d7c8799..22a587ab 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -165,12 +165,12 @@ function _s_admin_header_image() { ?> else $style = ' style="color:#' . get_header_textcolor() . ';"'; ?> -

onclick="return false;" href="">

-
>
+

onclick="return false;" href="">

+
>
Date: Sat, 20 Apr 2013 01:26:43 +0100 Subject: [PATCH 2/7] Minor code style clean-up --- 404.php | 10 +++++++++- archive.php | 2 +- content-page.php | 7 ++++++- content-single.php | 7 ++++++- content.php | 7 ++++++- image.php | 7 ++++++- inc/template-tags.php | 7 ++++++- 7 files changed, 40 insertions(+), 7 deletions(-) diff --git a/404.php b/404.php index 2b0997be..44ab0eab 100644 --- a/404.php +++ b/404.php @@ -26,7 +26,15 @@ get_header(); ?>

diff --git a/archive.php b/archive.php index 483e3768..8639e61d 100644 --- a/archive.php +++ b/archive.php @@ -28,7 +28,7 @@ get_header(); ?> * what author we're dealing with (if that is the case). */ the_post(); - printf( __( 'Author Archives: %s', '_s' ), '' . get_the_author() . '' ); + printf( __( 'Author Archives: %s', '_s' ), '' . get_the_author() . '' ); /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. diff --git a/content-page.php b/content-page.php index 4b04d497..e2435865 100644 --- a/content-page.php +++ b/content-page.php @@ -13,7 +13,12 @@
- '' ) ); ?> + '' + ) ); + ?>
', '' ); ?> diff --git a/content-single.php b/content-single.php index 6237d6f7..88ada282 100755 --- a/content-single.php +++ b/content-single.php @@ -15,7 +15,12 @@
- '' ) ); ?> + '' + ) ); + ?>