Permalink
Browse files

Added ‘published’ and ‘entry-title’ hAtom microformat classes

  • Loading branch information...
1 parent 53bf9da commit 2da24bcda23273ea965dc28719f9188c3cafe4e5 @splorp committed Feb 5, 2012
Showing with 14 additions and 15 deletions.
  1. +2 −2 archive.php
  2. +2 −2 category.php
  3. +0 −1 comments.php
  4. +2 −2 image.php
  5. +2 −2 index.php
  6. +2 −2 search.php
  7. +2 −2 single.php
  8. +2 −2 tag.php
View
@@ -33,9 +33,9 @@
<?php while (have_posts()) : the_post(); ?>
- <p title="<?php the_time('c') ?>"><?php the_date() ?></p>
- <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
+ <p class="published" title="<?php the_time('c') ?>"><?php the_date() ?></p>
+ <h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author’s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit', '<p>', '</p>'); ?>
View
@@ -31,8 +31,8 @@
while ( have_posts() ) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <p title="<?php the_time('c') ?>"><?php the_date() ?></p>
- <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
+ <p class="published" title="<?php the_time('c') ?>"><?php the_date() ?></p>
+ <h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author’s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit','<p>','</p>'); ?>
View
@@ -24,7 +24,6 @@
<ol>
<?php wp_list_comments('type=comment&callback=tersus_comment'); ?>
</ol>
-
<?php previous_comments_link(); delim_comment_link(); next_comments_link() ?>
<?php else : // No comments posted
View
@@ -14,8 +14,8 @@
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <p title="<?php the_time('c') ?>"><?php the_date() ?></p>
- <h2><?php the_title(); ?></h2>
+ <p class="published" title="<?php the_time('c') ?>"><?php the_date() ?></p>
+ <h2 class="entry-title"><?php the_title(); ?></h2>
<p><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p>
<?php
// Display the caption
View
@@ -15,8 +15,8 @@
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<?php if(!has_post_format('aside') && !has_post_format('image')) { ?>
- <p title="<?php the_time('c') ?>"><?php the_date() ?></p>
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <p class="published" title="<?php the_time('c') ?>"><?php the_date() ?></p>
+ <h2 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php }
the_content();
View
@@ -16,9 +16,9 @@
<?php while (have_posts()) : the_post(); ?>
- <p title="<?php the_time('c') ?>"><?php the_date() ?></p>
- <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
+ <p class="published" title="<?php the_time('c') ?>"><?php the_date() ?></p>
+ <h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author’s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit', '<p>', '</p>'); ?>
View
@@ -14,8 +14,8 @@
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <p title="<?php the_time('c') ?>"><?php the_date() ?></p>
- <h2><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></h2>
+ <p class="published" title="<?php the_time('c') ?>"><?php the_date() ?></p>
+ <h2 class="entry-title"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></h2>
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author’s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
View
@@ -23,8 +23,8 @@
while ( have_posts() ) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <p title="<?php the_time('c') ?>"><?php the_date() ?></p>
- <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
+ <p class="published" title="<?php the_time('c') ?>"><?php the_date() ?></p>
+ <h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to “<?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author’s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit','<p>','</p>'); ?>

0 comments on commit 2da24bc

Please sign in to comment.