Hướng dẫn thêm Google+ Comment cho WebsiteTrước đây chúng ta đã từng biết đến tiện ích thêm phần comment Facebook cho website, hôm nay mình xin chia sẻ thêm phần comment cho website với Google+: Thêm phần nhận xét Google+ Comment: HTML: <script src="https://apis.google.com/js/plusone.js"> </script> <g:comments href="[URL]" width="642" first_party_property="BLOGGER" view_type="FILTERED_POSTMOD"> </g:comments> Dành cho HTML5 HTML: <script src="https://apis.google.com/js/plusone.js"> </script> <div class="g-comments" data-href="[URL]" data-width="642" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD"> </div> Hiển thị số Google+ Comment: HTML: <g:comments>: <g:commentcount href="[URL]"></g:commentcount> Dành cho HTML5 HTML: <div class="g-comments">: <div class="g-commentcount" data-href="[URL]"></div> Chú ý thay thế bằng đường dẫn bạn muốn add phần comment vào. Nếu bạn muốn lấy tự động đường dẫn của website thì sử dụng Code sau: HTML: <div id="comments"></div> <script> gapi.comments.render('comments', { href: window.location, width: '624', first_party_property: 'BLOGGER', view_type: 'FILTERED_POSTMOD' }); </script> Similarly with Google+ Comments Counter: HTML: <div id="commentscounter"></div> <script> gapi.commentcount.render('commentscounter', { href: window.location }); </script> Chúc các bạn thành công![/I][/COLOR]