芸熙の小屋

给博客添加MySSL安全认证标志

我们经常会看到某些博客右下角有个安全认证徽章,很好奇是从哪里来的,怎么弄的,比如以下的安全认证徽章(图一)
这里可以通过美化插件来实现,也可以通过代码的方式添加(这里就不介绍插件啦)

样式一


生成代码

<div id="cc-myssl-id">
      <a href="https://myssl.com/您的域名?from=mysslid"><img src="https://static.myssl.com/res/images/myssl-id3.png" alt="" style="max-height:50px;display:block;margin:0 auto"></a>
</div>

样式二


生成代码

<div id="cc-myssl-id" style="position: fixed;right: 0;bottom: 0;width: 65px;height: 65px;z-index: 99;">
    <a href="https://myssl.com/您的域名?from=mysslid"><img src="https://static.myssl.com/res/images/myssl-id.png" alt="" style="width:100%;height:100%"></a>
</div>

样式三


生成代码

<div id="cc-myssl-id">
      <a href="https://myssl.com/您的域名?from=mysslid"><img src="https://static.myssl.com/res/images/myssl-id1.png" alt="" style="max-height:50px;display:block;margin:0 auto"></a>
</div>

样式四


生成代码

<div id="cc-myssl-id">
      <a href="https://myssl.com/您的域名?from=mysslid"><img src="https://static.myssl.com/res/images/myssl-id2.png" alt="" style="max-height:50px;display:block;margin:0 auto"></a>
</div>

代码放在主题底部即可,如果自带底部设置,直接填进去就行,如果没有那就在主题的“footer.php”文件最底部填写。

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »