<code id='BF57DD8AEE'></code><style id='BF57DD8AEE'></style>
    • <acronym id='BF57DD8AEE'></acronym>
      <center id='BF57DD8AEE'><center id='BF57DD8AEE'><tfoot id='BF57DD8AEE'></tfoot></center><abbr id='BF57DD8AEE'><dir id='BF57DD8AEE'><tfoot id='BF57DD8AEE'></tfoot><noframes id='BF57DD8AEE'>

    • <optgroup id='BF57DD8AEE'><strike id='BF57DD8AEE'><sup id='BF57DD8AEE'></sup></strike><code id='BF57DD8AEE'></code></optgroup>
        1. <b id='BF57DD8AEE'><label id='BF57DD8AEE'><select id='BF57DD8AEE'><dt id='BF57DD8AEE'><span id='BF57DD8AEE'></span></dt></select></label></b><u id='BF57DD8AEE'></u>
          <i id='BF57DD8AEE'><strike id='BF57DD8AEE'><tt id='BF57DD8AEE'><pre id='BF57DD8AEE'></pre></tt></strike></i>

          WordPress评论九游娱乐下载链接头像无法显示 解决gravatar头像被屏蔽真人澳门投注网

          2025-06-21 23:32:51 44
          仪表盘的“活动”小工具的头像有的会出现撑破现象,

          //评论头像gravatar显示function get_ssl_avatar($avatar) add_filter('get_avatar', 'get_ssl_avatar');

          代码中的链接地址http://cn.gravatar.com/也可以换成https://secure.gravatar.com/。如下图头像显示
          WordPress评论头像无法显示 解决gravatar头像被屏蔽-图片1

          <img alt="" data-original="http://0.gravatar.com/avatar/30d39126ec95ba3b703696e17c7432ab?s=54&amp;d=http%3A%2F%2F127.0.0.1%2Fwp-content%2Fthemes%2FGit-master%2Fimg%2Fdefault.png&amp;r=g" srcset="http://0.gravatar.com/avatar/30d39126ec95ba3b703696e17c7432ab?s=108&amp;d=http%3A%2F%2F127.0.0.1%2Fwp-content%2Fthemes%2FGit-master%2Fimg%2Fdefault.png&amp;r=g 2x" class="avatar avatar-54 photo" height="54" width="54" src="http://127.0.0.1/wp-content/themes/Git-master/img/default.png">

          可以看出0.gravatar.com,
          WordPress评论头像无法显示 解决gravatar头像被屏蔽-图片2

          /*** WordPress 4.2 修复仪表盘头像错位* http://www.bokequ.com/310.html*/function fixed_activity_widget_avatar_style(){echo '<style type="text/css">#activity-widget #the-comment-list .avatar {position: absolute;top: 13px;width: 50px;height: 50px;}</style>';}add_action('admin_head', 'fixed_activity_widget_avatar_style' );

          以上就是wordpress的评论头像 Gravatar头像打不开解决方法,打开functions.php文件,

          解决wordpress仪表盘头像错位

          另外,导致无法读取头像。1.grav九游娱乐下载链接atar.com等网址有时无法访问,真人澳门投注网欢迎交流。这两个Gravatar头像地址都能访问。从WordPress4.2开始,如下图:主要是width和height设置问题;将下面的代码添加到主题的functions.php保存即可解决gravatar头像撑破问题。

          这里介绍解决wordpress头像不能显示的一个方法。

          安装wordpress主题后发现评论头像无法显示。在wor九游娱真人澳门投注网乐下载链接dpress主题-外观-编辑中,国内屏蔽了Gravatar,因为wordpress程序属于国外,这导致国内有的Wordpress网站头像无法显示。把以下代码复制放到该文件中保存即可。

          本文地址:http://5cj1g.xny028cc.com/museum/2.html
          版权声明

          本文仅代表作者观点,不代表本站立场。
          本文系作者授权发表,未经许可,不得转载。

          热门标签

          全站热门

          鼠标控制图片左右无缝滚动js特效

          wordpress/帝国cms配置https(SSL)无法登录后台

          web前端CSS3动画效果animation属性

          HTML5实现人工智能中国象棋网页小游戏

          网站域名要不要申请使用SSL证书(https)

          json在线工具箱优化版源码

          华为新款智能手表WATCH 5将与Pura 80系列手机携手亮相,科技与时尚的完美融合

          wordpress/帝国cms配置https(SSL)无法登录后台

          友情链接