为了更新主题是不忘记修改过的主题内容,特此记录
2023.1.23 页面平滑移动
添加鼠标滚动页面平滑移动JS代码
<script src=”https://cdn.jishusongshu.com/static/js/smooth-scrolling.js”></script>
2022.10.19 代码高亮背景渐变
参考网站:https://blog.ganxb2.com/45601.html,修改代码高亮背景色
:not(pre)>code[class*=language-], pre[class*=language-] {
background: linear-gradient(160deg,#652487 0,#443ac3 35%,#0174b7 68%,#04988e 100%);
}
style.css内的single-content code类的background-color属性删除
2022.12.7 用户评论平台系统
为博客评论添加用户浏览器平台和操作系统,教程:
https://www.jxtxzzw.com/archives/5408
修改文件/module/config/fun-comments.php
2022.9.21 评论头像修改
网站用户显示QQ头像(加密),为没有Gravatar头像的加载随机头像,教程:
https://www.jishusongshu.com/wordpress-site/qq-avatar-random-avatar/
把/lolimeow/module/config/fun-optimize.php的 boxmoe_get_avatar($avatar)、boxmoe_qqavatar_host()、boxmoe_qq_avatar($avatar, $id_or_email) 注释掉
2022.8.29 留言IP属地
给博客留言加个IP属地,教程:
https://www.jishusongshu.com/wordpress-site/wordpress-adds-comment-ip-territorial-function/
修改文件/module/config/fun-comments.php
2022.3.2 微信推送评论
新建 fun-custom.php 文件,并在functions.php 文件内添加代码
require_once dirname(__FILE__) . ‘/fun-custom.php’;
fun-custom.php 文件内添加自定义代码实现微信推送评论消息,教程:
https://www.jishusongshu.com/network-tech/work-weixin-push-website-comment/