首页
友链
留言
归档
统计
推荐
云图床
导航
个人介绍
引导页
MAP
Search
1
网站简介
17,648 阅读
2
Typecho自动保存远程图片插件
1,829 阅读
3
TeConnect-Typecho微博/QQ登录插件
1,343 阅读
4
文章中扦插广告
1,285 阅读
5
百度SEO提交插件
1,202 阅读
|未分原文|
|生活随心|
|web模板|
|web插件|
|资源代码|
|web源码|
|技术教程|
登录
/
注册
Search
标签搜索
typecho
插件
typecho插件
回忆
emlog
美图
WordPress
模板
源码
生活
同学日志
代码
tyrecho
emlog插件
美文
Typecho响应式模板
人生
静
情感
歌文
浅-汐
累计撰写
52
篇文章
累计收到
142
条评论
首页
栏目
|未分原文|
|生活随心|
|web模板|
|web插件|
|资源代码|
|web源码|
|技术教程|
页面
友链
留言
归档
统计
推荐
云图床
导航
个人介绍
引导页
MAP
搜索到
11
篇与
typecho
的结果
2020-10-02
拾捌PX 个性主题模板
使用方法1.在本地解压,并将文件夹命名为 18px 。(请严格按照规范命名,主题中有一处使用到包含主题文件夹名称的路径,命名不规范可能导致静态资源加载失败)2.将整个文件夹上传到网站根目录下的 /usr/themes/ 目录。3.在后台 外观 中切换到 18px 主题。4.设置主题外观。模板下载18px-Typecho-Theme-master.zip
2020年10月02日
497 阅读
0 评论
5 点赞
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日
538 阅读
0 评论
1 点赞
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日
536 阅读
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日
596 阅读
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日
450 阅读
0 评论
0 点赞
2020-03-29
BaiduSlug-Typecho自动翻译slug插件
功能介绍自动翻译文章和页面的标题用作文章地址,用的百度翻译API,也可以使用拼音。
2020年03月29日
746 阅读
0 评论
0 点赞
1
2
By浅汐
苏ICP20010588号-1