仿造Bilibili的UP主标识代码

哔哩哔哩作为国内目前比较火热的弹幕网站也是深得网友喜爱,于是挺多人喜欢这个UP主标识,那么今天就给你们带来如何修改子比主题的作者评论的标识,改为UP主

实现步骤:

  • 修改wp-content/themes/zibll/inc/functions/zib-comments-list.php第46行代码:
图片[1]-仿造Bilibili的UP主标识代码-GOdou社区

替换成:

<svg t="1653902014495" class="icon" viewBox="0 0 1194 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="736" width="200" height="200"><path d="M980.282449 0q91.926387 2.656832 151.173741 61.992747t61.992747 151.173741v596.635908q-2.656832 91.926387-61.992747 151.173741t-151.173741 61.992746H213.077927q-91.926387-2.656832-151.173741-61.992746T0 809.802396V213.077927Q2.656832 121.151539 61.992747 61.992747t151.08518-61.992747z m-507.454913 554.038034a229.284602 229.284602 0 0 1-15.321065 97.94854C445.550727 681.920215 413.757304 697.418402 362.303325 699.632428c-51.542541-1.859782-83.247403-17.712213-95.291708-47.291609a229.284602 229.284602 0 0 1-15.321065-97.94854V263.734857h-81.210498v324.930555q0 94.583219 48.620025 141.16634t139.217998 45.963194q90.50941-0.619927 142.494756-48.620026t53.13664-143.823172V263.734857h-81.121937z m387.543229-290.303177H652.606502v503.469665h79.70496V571.396003h128.059303q99.896883-3.985248 132.8416-53.13664a163.483729 163.483729 0 0 0 29.933641-99.896883 166.760489 166.760489 0 0 0-29.933641-99.896884q-32.944717-50.745491-132.8416-54.730739z m-3.985248 239.734808h-123.985494V340.960107h123.985494a84.133014 84.133014 0 0 1 56.590521 16.649481c15.586748 11.955744 23.734366 33.564644 24.708538 64.561018-0.974172 29.313713-9.564595 50.214125-26.036954 62.612674a88.561067 88.561067 0 0 1-55.262105 18.686385z" p-id="737" fill="#fb7299"></path></svg>
  • f5刷新下页面,作者发表评论,会在用户名后面出现up图标
图片[2]-仿造Bilibili的UP主标识代码-GOdou社区
© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
发表回复 共1条

请登录后发表评论