给wordpress侧边栏增加时钟教程

╭飛雪飄零╮ 2020/02/0315:40:59505,8704 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
下载地址:发表评论并刷新可见
╭飛雪飄零╮
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

评论:50   其中:访客  49   博主  1
    • 11111 11111 0
      Google Chrome 95.0.4638.69 Google Chrome 95.0.4638.69 Windows 7 x64 Edition Windows 7 x64 Edition

      感谢

      • 18320170505 18320170505 0
        Google Chrome 80.0.3987.163 Google Chrome 80.0.3987.163 Windows 7 x64 Edition Windows 7 x64 Edition

        我看下

        • 114514 114514 0
          Google Chrome 101.0.4951.40 Google Chrome 101.0.4951.40 Android 9 Android 9

          NB厉害

          • dianey dianey 0
            Microsoft Edge 103.0.1264.62 Microsoft Edge 103.0.1264.62 Windows 10 x64 Edition Windows 10 x64 Edition

            支持一下啊

            • CES CES 0
              Google Chrome 92.0.4515.131 Google Chrome 92.0.4515.131 Windows 10 x64 Edition Windows 10 x64 Edition

              厉害厉害

              • qq_c318fefb3f qq_c318fefb3f 0
                Microsoft Edge 97.0.1072.69 Microsoft Edge 97.0.1072.69 Windows 10 x64 Edition Windows 10 x64 Edition

                学习学习~~

                • vaimibao vaimibao 0
                  Google Chrome 80.0.3987.163 Google Chrome 80.0.3987.163 Windows 10 x64 Edition Windows 10 x64 Edition

                  学习学习~

                  • y107256 y107256 1
                    Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                    代码是不是多复制了,我添加了 上面和左边有黑边框呢

                    • y107256 y107256 1
                      Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                      好东西要学习

                      • q q 2
                        Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                        试试好东西

                        • chudaxia chudaxia 0
                          Microsoft Edge 96.0.1054.29 Microsoft Edge 96.0.1054.29 Windows 10 x64 Edition Windows 10 x64 Edition

                          还行

                          • 大雄搜集站 大雄搜集站 1
                            Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                            试试看,感觉还可以的

                            • qwe qwe 0
                              Microsoft Edge 94.0.992.38 Microsoft Edge 94.0.992.38 Windows 10 x64 Edition Windows 10 x64 Edition

                              试试看

                              • xiaoyao xiaoyao 0
                                Microsoft Edge 92.0.902.84 Microsoft Edge 92.0.902.84 Windows 10 x64 Edition Windows 10 x64 Edition

                                下个来试试

                                • dmdi dmdi 0
                                  Microsoft Edge 89.0.774.77 Microsoft Edge 89.0.774.77 Windows 10 x64 Edition Windows 10 x64 Edition

                                  看起来不错

                                  • juzi juzi 0
                                    Google Chrome 85.0.4183.121 Google Chrome 85.0.4183.121 Windows 10 x64 Edition Windows 10 x64 Edition

                                    看看隐藏

                                    • zaqwsx zaqwsx 1
                                      Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                                      不错不错

                                      • 品味人生 品味人生 0
                                        Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                                        下载试试,666

                                        • 社长大人 社长大人 0
                                          Microsoft Edge 90.0.818.49 Microsoft Edge 90.0.818.49 Windows 10 x64 Edition Windows 10 x64 Edition

                                          感谢感谢

                                          • PM大鱼 PM大鱼 0
                                            Google Chrome 89.0.4389.90 Google Chrome 89.0.4389.90 Windows 10 x64 Edition Windows 10 x64 Edition

                                            下载试试

                                            • 2211 2211 0
                                              Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                                              学习

                                              • ScorpioY ScorpioY 0
                                                Google Chrome 87.0.4280.88 Google Chrome 87.0.4280.88 Windows 10 x64 Edition Windows 10 x64 Edition

                                                谢谢分享

                                                • ApengCraft ApengCraft 0
                                                  Microsoft Edge 88.0.705.74 Microsoft Edge 88.0.705.74 Windows 10 x64 Edition Windows 10 x64 Edition

                                                  谢谢楼主分享!

                                                  • NoknowsYJS NoknowsYJS 1
                                                    Google Chrome 88.0.4324.104 Google Chrome 88.0.4324.104 Windows 10 x64 Edition Windows 10 x64 Edition

                                                    为啥我发表了评论也不能获得呢

                                                    • yangjingsheng yangjingsheng 0
                                                      Google Chrome 88.0.4324.104 Google Chrome 88.0.4324.104 Windows 10 x64 Edition Windows 10 x64 Edition

                                                      厉害

                                                      • 上善若水 上善若水 0
                                                        Google Chrome 87.0.4280.88 Google Chrome 87.0.4280.88 Windows 10 x64 Edition Windows 10 x64 Edition

                                                        试试

                                                        • 妖♆孽 妖♆孽 0
                                                          Microsoft Edge 87.0.664.66 Microsoft Edge 87.0.664.66 Windows 10 x64 Edition Windows 10 x64 Edition

                                                          谢谢

                                                          • Ծ ̮ Ծ Ծ ̮ Ծ 1
                                                            Google Chrome 87.0.4280.88 Google Chrome 87.0.4280.88 Windows 10 x64 Edition Windows 10 x64 Edition

                                                            感谢分享

                                                            • x x 0
                                                              Google Chrome 87.0.4280.88 Google Chrome 87.0.4280.88 Windows 10 x64 Edition Windows 10 x64 Edition

                                                              感谢分享

                                                              • z z 0
                                                                Google Chrome 87.0.4280.88 Google Chrome 87.0.4280.88 Mac OS X  11.0.1 Mac OS X 11.0.1

                                                                谢谢分享

                                                                • jaocky jaocky 0
                                                                  Google Chrome 86.0.4240.198 Google Chrome 86.0.4240.198 Windows 10 x64 Edition Windows 10 x64 Edition

                                                                  试试

                                                                  • Rookie Rookie 0
                                                                    Microsoft Edge 86.0.622.43 Microsoft Edge 86.0.622.43 Windows 10 x64 Edition Windows 10 x64 Edition

                                                                    事实上是可以的

                                                                    • 路途吧 路途吧 0
                                                                      Google Chrome 83.0.4103.116 Google Chrome 83.0.4103.116 Windows 10 x64 Edition Windows 10 x64 Edition

                                                                      哈哈哈哈哈

                                                                      • 共享资源网 共享资源网 0
                                                                        Firefox 78.0 Firefox 78.0 Windows 10 x64 Edition Windows 10 x64 Edition

                                                                        试试

                                                                        • shdder shdder 0
                                                                          Google Chrome 83.0.4103.97 Google Chrome 83.0.4103.97 Windows 10 x64 Edition Windows 10 x64 Edition

                                                                          我想试试

                                                                          • 阿达 阿达 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