Add edit link

This commit is contained in:
danpros 2021-03-05 08:31:24 +07:00
commit 7f85f7d6a2
6 changed files with 7 additions and 1 deletions

View file

@ -37,6 +37,7 @@
<?php } elseif (facebook()) { ?> -
<a href="<?php echo $p->url ?>#comments"><span><fb:comments-count href=<?php echo $p->url ?>></fb:comments-count> Comments</span></a>
<?php } ?>
<?php if (login()) { echo ' - <span><a href="'. $p->url .'/edit?destination=post">Edit</a></span>'; } ?>
</div>
<?php if (!empty($p->image)) { ?>
<div class="featured-image">