forked from mirror/_s
Add entry-footer class to footer elements in an entry.
This commit is contained in:
parent
5de96cdb72
commit
1a8d576e65
|
@ -20,5 +20,5 @@
|
||||||
) );
|
) );
|
||||||
?>
|
?>
|
||||||
</div><!-- .entry-content -->
|
</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-## -->
|
</article><!-- #post-## -->
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
?>
|
?>
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
|
|
||||||
<footer class="entry-meta">
|
<footer class="entry-meta entry-footer">
|
||||||
<?php
|
<?php
|
||||||
/* translators: used between list items, there is a space after the comma */
|
/* translators: used between list items, there is a space after the comma */
|
||||||
$category_list = get_the_category_list( __( ', ', '_s' ) );
|
$category_list = get_the_category_list( __( ', ', '_s' ) );
|
||||||
|
@ -58,5 +58,5 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
||||||
</footer><!-- .entry-meta -->
|
</footer><!-- .entry-meta.entry-footer -->
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-## -->
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
<?php endif; ?>
|
<?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 if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
|
||||||
<?php
|
<?php
|
||||||
/* translators: used between list items, there is a space after the comma */
|
/* translators: used between list items, there is a space after the comma */
|
||||||
|
@ -59,5 +59,5 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
||||||
</footer><!-- .entry-meta -->
|
</footer><!-- .entry-meta.entry-footer -->
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-## -->
|
||||||
|
|
Reference in New Issue