让免插件读者墙在IE下显示留言者名字

这段免插件读者墙代码原型,确实无此功能,之前改过,后来忘记加了,因为很少用IE看自己的博客,有人提议加上,就改了一下,愿意折腾的可以按下面方法修改:
主题中添加的免插件读者墙代码在原型基础上稍作修改添加了external nofollow属性,原出处未知:

  1. <?php
  2. =;
  3. = ->get_results();
  4. ( )
  5. {
  6. ( ->comment_author_url )
  7. = ->comment_author_url;
  8. =;
  9. =;
  10. = .....->comment_author..->cnt..get_avatar(->comment_author_email, 32).;
  11. .= ;
  12. }
  13. ;
  14. ?>

上面代码,未针对IE添加atl属性,参考了一下别人的修改方法,改为:

  1. <?php
  2. =;
  3. = ->get_results();
  4. ( )
  5. {
  6. ( ->comment_author_url )
  7. = ->comment_author_url;
  8. =;
  9. =;
  10. =;
  11. = ...->comment_author..->cnt.. .. ..md5( (->comment_author_email) ).. ..->comment_author..->cnt.;
  12. .= ;
  13. }
  14. ;
  15. ?>

具体针对热点新闻2.4版主题修改方法:

打开:top_comment.php及Message.php

找到:

  1. = .....->comment_author..->cnt..get_avatar(->comment_author_email, 32).;

替换为:

  1. =;
  2. = ...->comment_author..->cnt.. .. ..md5( (->comment_author_email) ).. ..->comment_author..->cnt.;

我的已改,可以看看效果

    © 版权声明
    THE END
    喜欢就支持一下吧
    点赞0分享
    评论 抢沙发

    请登录后发表评论

      暂无评论内容