Edit post
- post-meta.php: ajout de la condition if (current_user_can( 'edit_post' ))
This commit is contained in:
@@ -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 -->
|
||||
@@ -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('',''); ?>
|
||||
|
||||
Reference in New Issue
Block a user