forked from mirror/_s
Merge pull request #949 from phoenixenero/master
Only show page entry footer if edit link is available; props @phoenixenero
This commit is contained in:
commit
e1144edb00
|
@ -25,6 +25,7 @@
|
||||||
?>
|
?>
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
|
|
||||||
|
<?php if ( get_edit_post_link() ) : ?>
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
<?php
|
<?php
|
||||||
edit_post_link(
|
edit_post_link(
|
||||||
|
@ -38,4 +39,5 @@
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</footer><!-- .entry-footer -->
|
</footer><!-- .entry-footer -->
|
||||||
|
<?php endif; ?>
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-## -->
|
||||||
|
|
Reference in New Issue