Permalink
Browse files

Small changes to sync the child theme with parent theme version 1.2

  • Loading branch information...
1 parent a358c0b commit 9cc823cc02868889b056f9895b2f2aa9bc33ab7e @jlyman committed Oct 19, 2013
Showing with 15 additions and 8 deletions.
  1. +3 −1 README.md
  2. +1 −1 content-aside.php
  3. +1 −1 content-image.php
  4. +3 −0 content-page.php
  5. +1 −1 content.php
  6. +2 −2 functions.php
  7. +3 −1 readme.txt
  8. +1 −1 style.css
View
@@ -39,4 +39,6 @@ Changelog
* 1.1.1
* Match the official 1.1.1 version, released with WP 3.5
* 1.1.2
- * Fix for typo in functions.php to allow Schema.org markup in posts.
+ * Fix for typo in functions.php to allow Schema.org markup in posts.
+* 1.2
+ * Match the official 1.2 release
View
@@ -10,7 +10,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemscope itemtype="http://schema.org/Article">
<div class="aside">
- <h1 class="entry-title" itemprop="headline"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a></h1>
+ <h1 class="entry-title" itemprop="headline"><a href="<?php the_permalink(); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a></h1>
<div class="entry-content" itemprop="articleBody">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
</div><!-- .entry-content -->
View
@@ -14,7 +14,7 @@
</div><!-- .entry-content -->
<footer class="entry-meta">
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" itemprop="url">
+ <a href="<?php the_permalink(); ?>" rel="bookmark" itemprop="url">
<h1><?php the_title(); ?></h1>
<h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" itemprop="datePublished"><?php echo get_the_date(); ?></time></h2>
</a>
View
@@ -10,6 +10,9 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemscope itemtype="http://schema.org/Article">
<header class="entry-header">
+ <?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
+ <?php the_post_thumbnail(); ?>
+ <?php endif; ?>
<h1 class="entry-title" itemprop="headline"><?php the_title(); ?></h1>
</header>
View
@@ -20,7 +20,7 @@
<h1 class="entry-title" itemprop="headline"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="entry-title" itemprop="headline">
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a>
+ <a href="<?php the_permalink(); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
<?php if ( comments_open() ) : ?>
View
@@ -72,10 +72,10 @@ function twentytwelve_comment( $comment, $args, $depth ) {
<header class="comment-meta comment-author vcard" itemprop="creator" itemscope itemtype="http://schema.org/Person">
<?php
echo get_avatar( $comment, 44 );
- printf( '<cite class="fn">%1$s %2$s</cite>',
+ printf( '<cite><b class="fn">%1$s</b> %2$s</cite>',
get_comment_author_link(),
// If current post author is also comment author, make it known visually.
- ( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
+ ( $comment->user_id === $post->post_author ) ? '<span>' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
);
printf( '<a href="%1$s"><time datetime="%2$s" itemprop="commentTime">%3$s</time></a>',
esc_url( get_comment_link( $comment->comment_ID ) ),
View
@@ -32,4 +32,6 @@ No idea. I highly doubt it. But you will be contributing to machine readable dat
= 1.1.1 =
* Match the official 1.1.1 version, released with WP 3.5
= 1.1.2 =
-* Fix for typo in functions.php to allow Schema.org markup in posts.
+* Fix for typo in functions.php to allow Schema.org markup in posts.
+= 1.2 =
+* Match the official 1.2 release
View
@@ -5,7 +5,7 @@ Author: Joshua Lyman
Author URI: http://www.joshualyman.com
Description: Take the beauty of the original Twenty Twelve theme and add on powerful microdata markup with the Schema.org conventions. Improve search engine parsing and contribute to machine readable data everywhere.
Template: twentytwelve
-Version: 1.1.2
+Version: 1.2
License: GNU General Public License
Tags: microformats, dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/

0 comments on commit 9cc823c

Please sign in to comment.