首页
壁纸
友链
留言
归档
统计
推荐
个人介绍
浅汐云储
Search
1
网站简介
18,124 阅读
2
Typecho自动保存远程图片插件
2,334 阅读
3
TeConnect-Typecho微博/QQ登录插件
1,874 阅读
4
文章中扦插广告
1,694 阅读
5
百度SEO提交插件
1,619 阅读
|未分原文|
|生活随心|
|web模板|
|web插件|
|资源代码|
|web源码|
|技术教程|
登录
/
注册
Search
标签搜索
typecho
插件
typecho插件
回忆
emlog
美图
WordPress
模板
源码
生活
同学日志
代码
tyrecho
emlog插件
个人主页
JOE主题
美文
Typecho响应式模板
人生
静
浅汐
累计撰写
67
篇文章
累计收到
211
条评论
首页
栏目
|未分原文|
|生活随心|
|web模板|
|web插件|
|资源代码|
|web源码|
|技术教程|
页面
壁纸
友链
留言
归档
统计
推荐
个人介绍
浅汐云储
搜索到
12
篇与
typecho
的结果
2022-07-02
Typecho开源海报插件 ArticlePoster
{mtitle title="文章海报"/}前言让网站添加一种独特风格免费的typecho海报插件安装将插件上传到 /usr/plugins/ ,并重命名为 ArticlePoster修改主题 post.php ,在合适的位置加入挂载点<?php ArticlePoster_Plugin::button($this->cid); ?>在后台插件设置填写好信息,一定要填自定义分享按钮样式,并且在 class 里面加入 article-poster-button如果你的模板没有引入 jquery 或者上述过程都设置好了点击按钮无响应,可以开启加载jquery修改图标部分可以找到 /usr/plugins/ArticlePoster/js/core.js ,修改注释部分图标源码下载隐藏内容,请前往内页查看详情
2022年07月02日
278 阅读
1 评论
1 点赞
2020-10-02
拾捌PX 个性主题模板
使用方法1.在本地解压,并将文件夹命名为 18px 。(请严格按照规范命名,主题中有一处使用到包含主题文件夹名称的路径,命名不规范可能导致静态资源加载失败)2.将整个文件夹上传到网站根目录下的 /usr/themes/ 目录。3.在后台 外观 中切换到 18px 主题。4.设置主题外观。模板下载18px-Typecho-Theme-master.zip
2020年10月02日
805 阅读
0 评论
6 点赞
2020-10-01
DPlayer视频播放插件
使用方式下载后将文件夹名改为DPlayer上传启用即可默认不自动播放,弹幕开启dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg"/ 关闭弹幕dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg" danmu="false"/ 开启自动播放dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg" autoplay="true"/ 添加额外弹幕源(例:bilibili弹幕)dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg" autoplay="true" addition="https://api.prprpr.me/dplayer/bilibili?aid=7286894"/ Pjax页面切换?重新加载播放器回调函数loadDPlayer(); 插件下载DPlayer-Typecho-master.zip
2020年10月01日
873 阅读
0 评论
2 点赞
2020-07-15
自定义Title部分
自定义一下标题,以下为代码和参考案例:`<?php if($this->_currentPage>1) echo '第 '.$this->_currentPage.' 页 - '; ?> <?php $this->archiveTitle('', '', ' - '); ?><?php $this->options->title(); ?> <?php if($this->is('index')): ?> - 自定义关键词<?php endif; ?>`
2020年07月15日
814 阅读
0 评论
0 点赞
2020-07-15
文章字数统计
在functions.php中写入代码:function art_count ($cid){ $db=Typecho_Db::get (); $rs=$db->fetchRow ($db->select ('table.contents.text')->from ('table.contents')->where ('table.contents.cid=?',$cid)->order ('table.contents.cid',Typecho_Db::SORT_ASC)->limit (1)); echo mb_strlen($rs['text'], 'UTF-8'); } 在模板中调用:<?php echo art_count($this->cid); ?>
2020年07月15日
900 阅读
0 评论
1 点赞
2020-07-15
缩略图调用 img 字段
自动调用img字段内容,如果没有,去文章搜索第1个图片。<?php if (array_key_exists('img',unserialize($this->___fields()))): ?><?php $this->fields->img(); ?><?php else: ?><?php preg_match_all("/\<img.*?src\=(\'|\")(.*?)(\'|\")[^>]*>/i", $this->content, $matches); $imgCount = count($matches[0]); if($imgCount >= 1){ $img = $matches[2][0]; echo <<<Html {$img} Html; } ?><?php endif; ?>
2020年07月15日
763 阅读
0 评论
0 点赞
1
2
By浅汐
苏ICP20010588号-1