Browse Source

fix hentry structured data error

windhamdavid 9 years ago
parent
commit
8ab9d6eca4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      single.php

+ 2 - 1
single.php

@@ -6,8 +6,9 @@
 			<div itemscope="" itemtype="http://schema.org/BlogPosting" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 				<div class="entry-content">
 					<div class="date">
-						<time datetime="<?php the_time('c');?>" itemprop="datePublished"><?php the_time('n/j/Y'); ?></time>
+						<time class="updated" datetime="<?php the_time('c');?>" itemprop="datePublished"><?php the_time('n/j/Y'); ?></time>
 					</div>
+					<span class="vcard author"><span class="fn">David A. Windham</span></span>
 					<h2 itemprop="name headline" class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
 					<?php the_content(); ?>
 					<?php comments_template( '', true ); ?>