Xem tin tuc mới

Chèn comment của disqus vào blogspot

Thứ Năm, 8 tháng 12, 2011
Bước đầu tiên bạn phải làm là đóng comment của blogger lại. Các bước thực hiện như hình bên dưới :


- Save cài đặt lại.

Bước 2 : chèn code của thủ thuật vào template.
1. Vào phần thiết kế -> chỉnh sửa code HTML -> nhấp chọn mở rộng mẫu tiện ích.
Tìm đoạn code như bên dưới :
<b:include data='post' name='post'/>

Chèn ngay sau nó đoạn code bên dưới :

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='disqus_thread'/>
<script src='http://disqus.com/forums/chiasetintuc/embed.js' type='text/javascript'/>
<noscript><a href='http://disqus.com/forums/chiasetintuc/?url=ref'>Xem thảo luận</a></noscript>
</b:if>

Save template.
xem demo
Chúc các bạn thành công.

0 nhận xét:

Đăng nhận xét

Lên đầu trang