使用教程
- 将下面的代码添加在 WordPress 后台小工具,效果展示是一样的
- 添加路径:后台 >> 外观 >> 小工具 >> 自定义 HTML >> 选择你需要放的位置
HTML
<div class="zib-widget widget_text">
<div id="update_version">
<a href="/" target="_blank" rel="noopener"><img title="HAC社区" src="https://www.tfbkw.com/wp-content/uploads/2024/05/20240524203517214-tougao.webp" alt="图片" style="border-radius:5px;"></a>
<a class="blog_link" href="https://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=tfblog@126.com" target="_blank" style="background-image: linear-gradient(120deg, #3ca5f6 0%, #a86af9 100%);" rel="noopener">站长邮箱</a>
<a class="cms_link" href="/" target="_blank" style="background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);" rel="noopener">在线投稿</a>
<a class="grid_link" href="/" target="_blank" style="background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);" rel="noopener">友情链接</a>
</div>
<div>
<hr>
</div>
</div>
CSS
#update_version img{margin:0px 0 15px }#update_version a{width:30%;height:35px;border-radius:3px;text-align:center;line-height:35px;font-size:9pt;color:#fff;font-weight: 700;}.blog_link{background-color:#2ba9fa}.blog_link,.cms_link{float:left;margin-right:5%}.cms_link{background-color:#ff6969}.grid_link{float:left;background-color:#70c041}
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容