给wordpress侧边栏增加时钟教程

╭飛雪飄零╮ 站长528,7994字数 354阅读模式

闲来无聊,于是倒腾一番,美化下博客,为wordpress侧边栏增加一个动态时间,原理其实就的调用一个网页源码。这里主要用到wordpress增强文本小工具,具体教程附后,效果如下:

给wordpress侧边栏增加时钟教程

1、下载附件文件

下载文章后的源码,连同文件夹解压上传到网站根目录,当然如果你有点代码知识,路径由你自己选择。

2、主题添加增强文本

在后台主题设置添加文本增强工具,填入如下代码。

<iframe src="<iframe src="https://www.luoyechenfei.com/clock/" width="310" height="310"></iframe>" width="310" height="310"></iframe>
https://www.luoyechenfei.com/clock/地址根据你的域名及路径修改即可
下载信息 时间源码 WinXP/Vista/7/8/10 1.0 2.71KB
最近更新2020-2-3
下载地址:发表评论并刷新可见

 
╭飛雪飄零╮
评论  52  访客  51  作者  1
    • 阿达
      阿达 0
      Google Chrome 81.0.4044.129 Google Chrome 81.0.4044.129 Windows 10 x64 Edition Windows 10 x64 Edition

      哈哈

      • 1156646905
        1156646905 1
        Sogou Explorer Sogou Explorer Windows 7 x64 Edition Windows 7 x64 Edition

        你好,这个下载不了,网盘的链接打不开,可以重新发现链接嘛

        • 1156646905
          1156646905 1
          Sogou Explorer Sogou Explorer Windows 7 x64 Edition Windows 7 x64 Edition

          我刷新了呀

          • chl
            chl 1
            Google Chrome 80.0.3987.122 Google Chrome 80.0.3987.122 Windows 10 x64 Edition Windows 10 x64 Edition

            发表评论并刷新可见
            我刷新了呀,怎么没有?

              • ╭飛雪飄零╮
                ╭飛雪飄零╮
                Google Chrome 78.0.3904.108 Google Chrome 78.0.3904.108 Windows 10 x64 Edition Windows 10 x64 Edition

                @ chl 防止垃圾留言,审核后刷新就行。

                @ chl

              • chl
                chl 1
                Google Chrome 80.0.3987.122 Google Chrome 80.0.3987.122 Windows 10 x64 Edition Windows 10 x64 Edition

                厉害厉害666

              发表评论