Permalink
Browse files

Microformat class is now applied to cite element for author names

  • Loading branch information...
1 parent d9016c2 commit 65b8bedecb41eccc93dc2d34e70445b5b05c7e4a @splorp committed Dec 4, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 image.php
  2. +1 −1 index.php
  3. +1 −1 single.php
View
@@ -18,7 +18,7 @@
<?php the_content('<p>Read the rest of this item</p>'); ?>
<p><?php previous_image_link() ?> | <?php next_image_link() ?></p>
- <p>This item was posted by <span class="vcard author"><a class="url fn" href="<?php the_author_meta('user_url') ?>"><?php the_author_meta('display_name'); ?></a></span> on <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_time('c') ?>"><?php the_time('l, F jS, Y') ?></a>.</p>
+ <p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>"><?php the_author_meta('display_name'); ?></a></cite></span> on <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_time('c') ?>"><?php the_time('l, F jS, Y') ?></a>.</p>
<p>Categories:</p>
<ul>
View
@@ -16,7 +16,7 @@
<?php if(!has_post_format('aside') && !has_post_format('image')) { ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <p>This item was posted by <span class="vcard author"><a class="url fn" href="<?php the_author_meta('user_url') ?>"><?php the_author_meta('display_name'); ?></a></span> on <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_time('c') ?>"><?php the_time('l, F jS, Y') ?></a>.</p>
+ <p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>"><?php the_author_meta('display_name'); ?></a></cite></span> on <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_time('c') ?>"><?php the_time('l, F jS, Y') ?></a>.</p>
<?php } ?>
<?php the_content('Read the rest of this item'); ?>
View
@@ -17,7 +17,7 @@
<h2><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></h2>
<?php the_content('<p>Read the rest of this item</p>'); ?>
<?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <p>This item was posted by <span class="vcard author"><a class="url fn" href="<?php the_author_meta('user_url') ?>"><?php the_author_meta('display_name'); ?></a></span> on <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_time('c') ?>"><?php the_time('l, F jS, Y') ?></a>.</p>
+ <p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>"><?php the_author_meta('display_name'); ?></a></cite></span> on <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_time('c') ?>"><?php the_time('l, F jS, Y') ?></a>.</p>
<?php if (has_tag()) echo '<p>Tags:</p>'; the_tags('<ul><li>','</li><li>','</li></ul>'); ?>

0 comments on commit 65b8bed

Please sign in to comment.