![]() |
Google+ comment có thể được chia sẻ công khai hoặc riêng tư. Độc giả có thể chọn xem những bình luận hàng đầu, tất cả bình luận hoặc bình luận từ những người trong Vòng kết nối của họ.
Kích hoạt Google+ comment trong blogspot
Chèn Google+ Comment vào wordpress
Bạn cài đặt Plugin Google+ comment là khá đơn giản như các Plugin bình thường khác chỉ cần Activate là có thể sử dụng mà không cần cài đặt gì thêm.
DOWNLOAD: http://wordpress.org/extend/plugins/gplus-comments/
Chèn Google+ Comment vào website bất kỳ
Bạn chỉ việc thêm Mã Code vào vị trí trong Website là thành công:
<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>
</script>
<g:comments
href="[URL]"
width="642"
first_party_property="BLOGGER"
view_type="FILTERED_POSTMOD">
</g:comments>
Dành cho HTML5
<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>
g:comments>: <g:commentcount href="[URL]"></g:commentcount>
Dành cho HTML5
<div class="g-comments">: <div class="g-commentcount" data-href="[URL]"></div>
Chú ý thay thế [URL] = đường dẫn bạn muốn comment, phần này biết Code cho tự động URL là URL hiện tại là Oki.
Nếu bạn muốn lấy tự động đường dẫn của website thì sử dụng Code sau:
<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:
<div id="commentscounter"></div>
<script>
gapi.commentcount.render('commentscounter', {
href: window.location
});
</script>
<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:
<div id="commentscounter"></div>
<script>
gapi.commentcount.render('commentscounter', {
href: window.location
});
</script>


0 Please Share a Your Opinion.: