Taking 'Edit' link outside .entry-content
Taking 'Edit' link outside .entry-content and putting it inside footer.entry-meta so that styling is consistent with single posts.
This commit is contained in:
parent
fff4b81508
commit
d521f744ea
1 changed files with 1 additions and 1 deletions
|
@ -15,6 +15,6 @@
|
|||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'after' => '</div>' ) ); ?>
|
||||
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php edit_post_link( __( 'Edit', '_s' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue