Edit post

- post-meta.php: ajout de la condition if (current_user_can( 'edit_post' ))
This commit is contained in:
2019-01-11 07:01:53 +01:00
parent 6662ab3a62
commit c1fb81ddaa
2 changed files with 4 additions and 2 deletions

View File

@@ -11,8 +11,10 @@
/
<span> <?php printLikes(get_the_ID()); ?> </span>
<?php } ?>
<?php if (current_user_can( 'edit_post' )) { ?>
/
<span> <?php edit_post_link(); ?> <span>
<?php } ?>
</div>
<!--end meta -->

View File

@@ -97,7 +97,7 @@ $bg_title_img = $kk_parallax[1];
<?php endif; ?>
<?php if(has_tag()) { ?>
<?php if (has_tag()) { ?>
<div class="post-tags">
<h4><?php _e('Tags:','toppic'); ?></h4>
<?php the_tags('',''); ?>