mirror of https://github.com/IoTcat/Sakura.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
695 B
26 lines
695 B
<?php |
|
|
|
/** |
|
* sharelike |
|
*/ |
|
|
|
?> |
|
|
|
<?php if ( akina_option('post_like') == 'yes') { ?> |
|
<div class="post-like"> |
|
<a href="javascript:;" data-action="ding" data-id="<?php the_ID(); ?>" class="specsZan <?php if(isset($_COOKIE['specs_zan_'.get_the_ID()])) echo 'done';?>"> |
|
<i class="iconfont icon-like"></i> <span class="count"> |
|
<?php if( get_post_meta(get_the_ID(),'specs_zan',true) ){ |
|
echo get_post_meta(get_the_ID(),'specs_zan',true); |
|
} else { |
|
echo '0'; |
|
}?></span> |
|
</a> |
|
</div> |
|
<?php } ?> |
|
<?php if ( akina_option('post_share') == 'yes') { ?> |
|
<div class="post-share"> |
|
<div class="social-share sharehidden"></div> |
|
<i class="iconfont show-share icon-forward"></i> |
|
</div> |
|
<?php } ?>
|