Moricolor主题去掉分享按钮保留功能按钮
!
Moricolor-for-Typecho主题下去掉顶部分享按钮保留功能按钮
打开主题post.php文件
<?php if (!defined('TYPECHO_ROOT_DIR')) exit; ?>
<?php $this->need('header.php'); ?>
<div id="main" class="container">
<div id="main-post" role="main" itemscope itemtype="http://schema.org/BlogPosting" style="display: none;">
<article class="post" style="padding-top: 20px;">
<h2 itemprop="name headline" style="font-weight: normal;"><?php $this->title() ?></h2>
<div class="text-right">
<?php if($GLOBALS['style_TextBar']=='1'): ?>
<div class="text-bar">
<a href="<?php $this->options->siteUrl(); ?>" class="fui-home"></a>
<a id="tor_show" href="javascript:void(0)" class="fui-list-bulleted"></a>
<a id="comment_go" href="#comments" class="fui-bubble"></a>
<a style="font-size: 30px;margin-left: 1px;">·</a>
<a href="https://twitter.com/intent/tweet?url=<?php $this->permalink() ?>" target="_blank" rel="nofollow" data-placement="bottom" data-toggle="tooltip" title="Twitter" class="fui-twitter"></a>
<a href="https://www.facebook.com/sharer/sharer.php?u=<?php $this->permalink() ?>" target="_blank" rel="nofollow" data-placement="bottom" data-toggle="tooltip" title="Facebook" class="fui-facebook"></a>
<a href="https://plus.google.com/share?url=<?php $this->permalink() ?>" target="_blank" rel="nofollow"data-placement="bottom" data-toggle="tooltip" title="Google+" class="fui-google-plus"></a>
<a href="http://service.weibo.com/share/share.php?url=<?php $this->permalink() ?>&title=<?php $this->title() ?>" target="_blank" rel="nofollow" data-placement="bottom" data-toggle="tooltip" title="Weibo" class="fui-bookmark"></a>
</div>
将14行至18行注释掉即可。
首次创建时间:2018-10-13 16:21:00
最后修改时间:2018-10-14 13:26:37
_(:3 」∠)_