Còn chờ gì nữa.Nào chúng ta hãy bắt đầu công viện thôi :)
Các bạn vào Blog -> Bố cục -> Thêm tiện ích -> HTML/JavaScript .Sau đó copy toàn bộ code dưới đấy dán vào đó :
<style type="text/css" scoped>ul.allbloggertricks_recent{list-style:none;margin:0;padding:0;}.allbloggertricks_recent li{background:none!important;display:block;clear:both;overflow:hidden;list-style:none;border:1px solid transparent;border-radius:9px;max-height:100px;-webkit-transition-duration:.5s;-moz-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;-webkit-transition-property:0;-moz-transition-property:0;-o-transition-property:0;transition-property:transform;margin:0 0 6px!important;padding:3px!important}.allbloggertricks_recent li:hover{border:1px solid #ddd;-webkit-transform:rotate(6deg);-moz-transform:rotate(6deg);-o-transform:rotate(6deg) }.allbloggertricks_recent a {text-decoration:none;}.avatarImage{padding:3px;background:#fefefe;-webkit-box-shadow:0 1px 1px #ccc;-moz-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px#ccc;float:left;margin:0 6px 0 0;position:relative;overflow:hidden}.avatarRound{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;width:35px;height:35px}.allbloggertricks_recent li span{margin-top:4px;color: #222;display: block;font-size: 12px;line-height: 1.4;}</style><script type="text/javascript">//<![CDATA[ var numComments = 5,Muốn copy tất cả bạn chỉ việc click 2 lần vào code đó nhé :v
showAvatar = true,
avatarSize = 35,
roundAvatar = true,
characters = 40,
defaultAvatar = "http://www.gravatar.com/avatar/?d=mm",
hideCredits = true;
maxfeeds=50,
adminBlog='Your Name'; showAvatar = true, avatarSize = 35, roundAvatar = true, characters = 40, defaultAvatar = "http://www.gravatar.com/avatar/?d=mm", hideCredits = true; maxfeeds=50, adminBlog='Your Name';//]]></script><script type="text/javascript" src="https://googledrive.com/host/0B-0uHUanipfMU1FDNkI2U1FWMG8"></script><script type="text/javascript" src="/feeds/comments/default?alt=json&callback=allbloggertricks_recent&&max-results=50"></script>
Các bạn có thể thay đổi thông số để phù hợp với blog của bạn.Mình xin giải thích đoạn code mày đó ở trên nhé :v
numComments = 5, //Số lượng bình luận muốn xuất hiện
showAvatar = true, //Không muốn hiện Avatar hãy nhập False
avatarSize = 35, //Kích thước ảnh author bình luận
roundAvatar = true,
characters = 40, //Số lượng ký tự gợi ý bình luận
defaultAvatar = "http://www.gravatar.com/avatar/?d=mm", //Ảnh mặc định
hideCredits = true;
maxfeeds=50, //Tối đa bình luận
adminBlog='Your Name'; //Tên Admin
Thủ thuật rất hay bạn hãy chia sẻ cho bạn bè của mình nhé.Ai không làm được thì comments dưới đây mình giúp đỡ :)
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.