diff --git a/wp-content/themes/twentytwelve/archive.php b/wp-content/themes/twentytwelve/archive.php index a5548672a..bbe9b6731 100644 --- a/wp-content/themes/twentytwelve/archive.php +++ b/wp-content/themes/twentytwelve/archive.php @@ -18,36 +18,31 @@ get_header(); ?>
- - +

' . get_the_date() . '' ); + } elseif ( is_month() ) { + printf( __( 'Monthly Archives: %s', 'twentytwelve' ), '' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '' ); + } elseif ( is_year() ) { + printf( __( 'Yearly Archives: %s', 'twentytwelve' ), '' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '' ); + } elseif ( is_tag() ) { + printf( __( 'Tag Archives: %s', 'twentytwelve' ), '' . single_tag_title( '', false ) . '' ); + // Show an optional tag description + $tag_description = tag_description(); + if ( $tag_description ) + echo apply_filters( 'tag_archive_meta', '
' . $tag_description . '
' ); + } elseif ( is_category() ) { + printf( __( 'Category Archives: %s', 'twentytwelve' ), '' . single_cat_title( '', false ) . '' ); + // Show an optional category description + $category_description = category_description(); + if ( $category_description ) + echo apply_filters( 'category_archive_meta', '
' . $category_description . '
' ); + } else { + _e( 'Blog Archives', 'twentytwelve' ); + } + ?>

+ +
> +
+

+
+ +
+ →', 'twentytwelve' ) ); ?> + '' ) ); ?> +
+ +
+ + + | + ' . __( 'Leave a reply', 'twentytwelve' ) . '', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> + + ', '' ); ?> +
+
diff --git a/wp-content/themes/twentytwelve/content-image.php b/wp-content/themes/twentytwelve/content-image.php new file mode 100644 index 000000000..16d018049 --- /dev/null +++ b/wp-content/themes/twentytwelve/content-image.php @@ -0,0 +1,50 @@ + + +
> +
+

+ + +
+ +
+ →', 'twentytwelve' ) ); ?> + '' ) ); ?> +
+ +
+ + + Posted in %2$s', 'twentytwelve' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); ?> + + + + + Tagged %2$s', 'twentytwelve' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + + + + ' . __( 'Leave a reply', 'twentytwelve' ) . '', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> + + + ', '' ); ?> +
+
diff --git a/wp-content/themes/twentytwelve/content-link.php b/wp-content/themes/twentytwelve/content-link.php new file mode 100644 index 000000000..c062e51cf --- /dev/null +++ b/wp-content/themes/twentytwelve/content-link.php @@ -0,0 +1,29 @@ + + +
> +
+

+
+ +
+ →', 'twentytwelve' ) ); ?> + '' ) ); ?> +
+ +
+ + + | + ' . __( 'Leave a reply', 'twentytwelve' ) . '', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> + + ', '' ); ?> +
+
diff --git a/wp-content/themes/twentytwelve/content-quote.php b/wp-content/themes/twentytwelve/content-quote.php new file mode 100644 index 000000000..be809bb63 --- /dev/null +++ b/wp-content/themes/twentytwelve/content-quote.php @@ -0,0 +1,50 @@ + + +
> +
+

+ + +
+ +
+ →', 'twentytwelve' ) ); ?> + '' ) ); ?> +
+ +
+ + + Posted in %2$s', 'twentytwelve' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); ?> + + + + + Tagged %2$s', 'twentytwelve' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + + + + ' . __( 'Leave a reply', 'twentytwelve' ) . '', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> + + + ', '' ); ?> +
+
diff --git a/wp-content/themes/twentytwelve/content-single.php b/wp-content/themes/twentytwelve/content-single.php index 2d80e9c3e..498bbc4e1 100644 --- a/wp-content/themes/twentytwelve/content-single.php +++ b/wp-content/themes/twentytwelve/content-single.php @@ -8,64 +8,64 @@ */ ?> -
> -
-

+
> +
+

- - - -
+ + + +
-
- - '' ) ); ?> -
+
+ + '' ) ); ?> +
-
- + %5$s. Bookmark the permalink.', 'twentytwelve' ); - } elseif ( '' != $categories_list ) { - $utility_text = __( 'This entry was posted in %1$s by %5$s. Bookmark the permalink.', 'twentytwelve' ); - } else { - $utility_text = __( 'This entry was posted by %5$s. Bookmark the permalink.', 'twentytwelve' ); - } + /* translators: used between list items, there is a space after the comma */ + $tag_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) ); + if ( '' != $tag_list ) { + $utility_text = __( 'This entry was posted in %1$s and tagged %2$s by %5$s. Bookmark the permalink.', 'twentytwelve' ); + } elseif ( '' != $categories_list ) { + $utility_text = __( 'This entry was posted in %1$s by %5$s. Bookmark the permalink.', 'twentytwelve' ); + } else { + $utility_text = __( 'This entry was posted by %5$s. Bookmark the permalink.', 'twentytwelve' ); + } - printf( - $utility_text, - $categories_list, - $tag_list, - esc_url( get_permalink() ), - the_title_attribute( 'echo=0' ), - get_the_author(), - esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) - ); - ?> - ', '' ); ?> + printf( + $utility_text, + $categories_list, + $tag_list, + esc_url( get_permalink() ), + the_title_attribute( 'echo=0' ), + get_the_author(), + esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) + ); + ?> + ', '' ); ?> - - - -
-
+ +
+
+ +
+ +
+ + + diff --git a/wp-content/themes/twentytwelve/content.php b/wp-content/themes/twentytwelve/content.php index fe0933a80..cfbb97e06 100644 --- a/wp-content/themes/twentytwelve/content.php +++ b/wp-content/themes/twentytwelve/content.php @@ -1,6 +1,6 @@ " >
- -
-

-

-
-

- - +
- +
@@ -38,36 +31,27 @@