This commit is contained in:
小赵同学 committed 2024-07-28 12:56:17 +08:00
1 parent 0206b0b105
commit eb60acb8e3
115 files changed
+4007 -768

No files matched your search

+5 -1
View File
@@ -79,7 +79,11 @@
<p>不得不说typecho轻量,后台速度快</p>
<p>这篇文章就教大家如何给自己的Twitter的主题加两个小功能</p>
<p>分别是加载耗时和访问总量的小功能,先上图</p>
<p><img src="/pics/2021/09/925164534.png" alt=""></p>
<p>
<figure>
<img data-original="/pics/2021/09/925164534.png" alt="" class="lazy">
</figure></p>
<h2 id="教程开始">教程开始</h2>
<p>首先找到自己主题文件的 functions.php 中加入以下代码</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-php" data-lang="php"><span style="display:flex;"><span><span style="color:#75715e">/*