Skip to content

Commit

Permalink
Add entry-footer class to footer elements in an entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewsimo committed Mar 3, 2014
1 parent 5de96cd commit 1a8d576
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content-page.php
Expand Up @@ -20,5 +20,5 @@
) );
?>
</div><!-- .entry-content -->
<?php edit_post_link( __( 'Edit', '_s' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
<?php edit_post_link( __( 'Edit', '_s' ), '<footer class="entry-meta entry-footer"><span class="edit-link">', '</span></footer>' ); ?>
</article><!-- #post-## -->
4 changes: 2 additions & 2 deletions content-single.php
Expand Up @@ -23,7 +23,7 @@
?>
</div><!-- .entry-content -->

<footer class="entry-meta">
<footer class="entry-meta entry-footer">
<?php
/* translators: used between list items, there is a space after the comma */
$category_list = get_the_category_list( __( ', ', '_s' ) );
Expand Down Expand Up @@ -58,5 +58,5 @@
?>

<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</footer><!-- .entry-meta.entry-footer -->
</article><!-- #post-## -->
4 changes: 2 additions & 2 deletions content.php
Expand Up @@ -31,7 +31,7 @@
</div><!-- .entry-content -->
<?php endif; ?>

<footer class="entry-meta">
<footer class="entry-meta entry-footer">
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
Expand Down Expand Up @@ -59,5 +59,5 @@
<?php endif; ?>

<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</footer><!-- .entry-meta.entry-footer -->
</article><!-- #post-## -->

0 comments on commit 1a8d576

Please sign in to comment.