From 2ecc5bacb8f078bf3a24ad6320408274d127f7e1 Mon Sep 17 00:00:00 2001 From: lancewillett Date: Thu, 2 Aug 2012 19:12:11 +0000 Subject: [PATCH] Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379. * Add classes like `.site` and `.site-content` in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like `nav` inside the content container. * Bump JS version after selector change. * Move `image-attachment` to `post_class()` output More exhaustive notes in the ticket on each id and class change. git-svn-id: http://core.svn.wordpress.org/trunk@21404 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 404.php | 4 +- archive.php | 4 +- author.php | 4 +- comments.php | 8 +-- footer.php | 4 +- full-width-page.php | 4 +- functions.php | 4 +- header.php | 6 +-- homepage.php | 4 +- image.php | 8 +-- index.php | 4 +- js/theme.js | 8 +-- page.php | 4 +- rtl.css | 20 +++---- search.php | 4 +- single.php | 8 +-- style.css | 128 ++++++++++++++++++++++---------------------- 17 files changed, 113 insertions(+), 113 deletions(-) diff --git a/404.php b/404.php index ad0d1c69b..8ce2ebd2c 100644 --- a/404.php +++ b/404.php @@ -9,7 +9,7 @@ get_header(); ?> -
+
@@ -24,6 +24,6 @@ get_header(); ?>
-
+
\ No newline at end of file diff --git a/archive.php b/archive.php index 626f8965b..3eda7da0b 100644 --- a/archive.php +++ b/archive.php @@ -14,7 +14,7 @@ get_header(); ?> -
+
@@ -71,7 +71,7 @@ get_header(); ?>
-
+
\ No newline at end of file diff --git a/author.php b/author.php index dab0f6e35..ad1a9369e 100644 --- a/author.php +++ b/author.php @@ -9,7 +9,7 @@ get_header(); ?> -
+
@@ -64,7 +64,7 @@ get_header(); ?>
-
+
\ No newline at end of file diff --git a/comments.php b/comments.php index 6ce8659a5..c314d8153 100644 --- a/comments.php +++ b/comments.php @@ -21,12 +21,12 @@ if ( post_password_required() ) return; ?> -
+
-

+

' . get_the_title() . '' ); @@ -38,7 +38,7 @@ 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> -

\ No newline at end of file +
\ No newline at end of file diff --git a/footer.php b/footer.php index 7314bc899..f53ae6aba 100644 --- a/footer.php +++ b/footer.php @@ -9,14 +9,14 @@ * @since Twenty Twelve 1.0 */ ?> - + - + diff --git a/full-width-page.php b/full-width-page.php index fbc7a781e..9217730e7 100644 --- a/full-width-page.php +++ b/full-width-page.php @@ -9,7 +9,7 @@ get_header(); ?> -
+
@@ -18,6 +18,6 @@ get_header(); ?>
-
+
\ No newline at end of file diff --git a/functions.php b/functions.php index a7c87e728..04fd34b54 100644 --- a/functions.php +++ b/functions.php @@ -104,7 +104,7 @@ function twentytwelve_scripts_styles() { * JavaScript for handling navigation menus and the resized * styles for small screen sizes. */ - wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130320', true ); + wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20120802', true ); /** * Load special font CSS file. @@ -214,7 +214,7 @@ function twentytwelve_content_nav( $nav_id ) { global $wp_query; if ( $wp_query->max_num_pages > 1 ) : ?> -