Files
plugins/Titleshow/README.md
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

31 lines
754 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Titleshow
typecho加密文章显示标题的插件
# 功能
1让加密文章的标题正常显示
2让加密文章的标签正常显示
3让加密文章的评论数正常显示
4自定义所有加密文章的提示文字
5意外的解决了加密文章无法评论的问题
6意外的解决了加密文章返回403问题
# 安装方法
下载解压将文件夹重命名为Titleshow传入程序插件目录启用设置即可
# 拓展判断
使用插件后判断文章是否加密用`$this->hidden`会失效,所以插件新增个参数来用来进行判断,如下判断文章是否加密
```php
<?php if($this->hidden||$this->titleshow): ?>
该文章已加密
<?php else: ?>
文章未加密
<?php endif;?>
```