Latest Apps and Games
thumbnail

Chèn tiện ích bài viết liên quan (Related posts) vào giữa bài viết cho Blogspot


Xem Thêm

Chèn tiện ích bài viết liên quan (Related posts) vào giữa bài viết cho Blogspot

Thường thì danh mục những bài viết liên quan sẽ được đặt ở phía dưới cùng của bài viết, tuy nhiên với những bạn thích sự khác biệt thì cũng có thể cho mục bài viết liên quan này vào chính giữa nội dung bài viết, và hôm nay mình sẽ giới thiệu cho các bạn cách làm đó.


Chèn Related posts vào giữa bài viết cho Blogspot


Bước 1: Đăng nhập Blogger ~> Vào Mẫu ~> Chính sửa HTML Thêm đoạn code javascript này vào bên trên thẻ </head>
<!-- Chèn tiện ích bài viết liên quan (Related posts)  Star-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<script type='text/javascript'>
//<![CDATA[
var relatedSimply = new Array(); var relatedSimplyNum = 0; var relatedUrls = new Array(); function related_results_labels(json) { for (var i = 0; i < json.feed.entry.length; i++) { var entry = json.feed.entry[i]; relatedSimply[relatedSimplyNum] = entry.title.$t; for (var k = 0; k < entry.link.length; k++) { if (entry.link[k].rel == 'alternate') {relatedUrls[relatedSimplyNum] = entry.link[k].href; relatedSimplyNum++; break;}}}} function removeRelatedDuplicates() { var tmp = new Array(0); var tmp2 = new Array(0); for(var i = 0; i < relatedUrls.length; i++) { if(!contains(tmp, relatedUrls[i])) { tmp.length += 1; tmp[tmp.length - 1] = relatedUrls[i]; tmp2.length += 1; tmp2[tmp2.length - 1] = relatedSimply[i];}} relatedSimply = tmp2; relatedUrls = tmp;} function contains(a, e) { for(var j = 0; j < a.length; j++) if (a[j]==e) return true; return false;} function printRelatedLabels() { var r = Math.floor((relatedSimply.length - 1) * Math.random()); var i = 0; document.write('<ul>'); while (i < relatedSimply.length && i < 20) { document.write('<li><a href="' + relatedUrls[r] + '">' + relatedSimply[r] + '</a></li>'); if (r < relatedSimply.length - 1) { r++; } else { r = 0;} i++;} document.write('</ul>');}
//]]>
</script>
</b:if>
<!-- Chèn tiện ích bài viết liên quan (Related posts)  END-->

Bước 2: Chọn một trong số các đoạn css sau và thêm vào trước thẻ đóng ]]></b:skin>
CSS Style 1



Bài viết liên quan style 1

<!-- Chèn tiện ích bài viết liên quan (Related posts) Star-->
/* Related Post Style 1 */
.related-simplify{position:relative;padding:0;margin:15px auto;width:100%;}
.related-simplify h4{background:#3498db;padding:8px 12px;margin:0;font-size:15px;font-weight:400;color:#fff;border:1px solid #2e88c5}
.related-simplify ul{margin:0;padding:0}
.related-simplify ul li{background:#f6f6f6;position:relative;list-style:none;padding:9px;margin:auto;line-height:1.4em;border:1px solid rgba(0,0,0,0.1);border-bottom:0;transition:all .3s}
.related-simplify ul li:nth-child(odd){background:#fefefe}
.related-simplify ul li:last-child{border-bottom:1px solid rgba(0,0,0,0.1)}
.related-simplify ul li:before{content:'\f138';font-family:fontawesome;position:absolute;margin:0 9px 0 4px;color:#2ecc71;overflow:hidden;transition:all .3s}
.related-simplify ul li:hover:before{content:'\f138';font-family:fontawesome;-webkit-animation:bounceright .3s alternate ease infinite;animation:bounceright .3s alternate ease infinite}
.related-simplify a{color:#0383d9;font-size:13px;margin:0 0 0 30px;}
.related-simplify a:hover{color:#0383d9;text-decoration:underline}
.related-simplify ul li:nth-child(n+4) {display:none;}
@-webkit-keyframes bounceright{from{-webkit-transform:translateX(0)}to{-webkit-transform:translateX(3px)}}
@keyframes bounceright{from{transform:translateX(0)}to{transform:translateX(3px)}}
<!-- Chèn tiện ích bài viết liên quan (Related posts) END-->

CSS Style 2
Bài viết liên quan style 2

<!-- Chèn tiện ích bài viết liên quan (Related posts) Star--> 
/* Related Post Style 2 */
.related-simplify{position:relative;padding:20px 12px 12px 12px;margin:32px auto 24px auto;width:93%;border:4px double rgba(0,0,0,0.2)}
.related-simplify h4{background:#fff;padding:8px 10px;position:absolute;margin:0;font-size:17px;font-weight:700;color:#000;top:-21px;left:2.5%}
.related-simplify ul{margin:0;padding:0}
.related-simplify ul li{position:relative;list-style:none;padding:9px 0;margin:auto;line-height:1.4em;transition:all .3s}
.related-simplify ul li:before{content:'\f0c8';font-family:fontawesome;position:absolute;margin:0 5px 0 2px;color:rgba(0,0,0,0.5);overflow:hidden;font-size:60%;left:10px;transition:all .3s}
.related-simplify ul li:hover:before{content:'\f0c8';font-family:fontawesome;color:#0383d9;}
.related-simplify a{color:#000;font-size:14px;margin:0 0 0 30px;}
.related-simplify a:hover{color:#0383d9;}
.related-simplify ul li:nth-child(n+4) {display:none;}
@media only screen and (max-width:768px){
.related-simplify{padding:15px 0 10px 0;width:100%;border:2px solid #e74c3c;border-left:0;border-right:0}
.related-simplify h4{color:#e74c3c;padding:8px;font-size:15px;top:-18px;left:3.5%}
.related-simplify a{font-size:14px;margin:0}.related-simplify a:hover{color:#e74c3c}
.related-simplify ul li{padding:5px 0}
.related-simplify ul li:before,.related-simplify ul li:hover:before{display:none}}
<!-- Chèn tiện ích bài viết liên quan (Related posts) END-->

CSS Style 3
Bài viết liên quan style 3

<!-- Chèn tiện ích bài viết liên quan (Related posts) Star-->
/* Related Post Style 3 */
.related-simplify{display:inline-block;background:#34495e;color:#fff;position:relative;padding:0;margin:20px auto;width:100%;border:6px double #fff;}
.related-simplify ul{background:rgba(38,62,87,0.8);margin:0;padding:20px}
.related-simplify ul li{position:relative;list-style:none;padding:9px 0;margin:auto;line-height:1.4em;transition:all .3s}
.related-simplify ul li:before{content:'\f0c8';font-family:fontawesome;position:absolute;margin:0 5px 0 2px;color:rgba(255,255,255,0.7);overflow:hidden;font-size:60%;left:10px;transition:all .3s}
.related-simplify ul li:hover:before{content:'\f0c8';font-family:fontawesome;color:#f1c40f;}
.related-simplify a{color:#fff;font-size:17px;margin:0 0 0 30px;}
.related-simplify a:hover{color:#fff;text-decoration:underline}
.related-simplify ul li:nth-child(n+4) {display:none;}
@media only screen and (max-width:768px){
.related-simplify{padding:15px 0 10px 0;width:100%;border:2px solid #e74c3c;border-left:0;border-right:0}
.related-simplify h4{color:#e74c3c;padding:8px;font-size:15px;top:-18px;left:3.5%}
.related-simplify a{font-size:14px;margin:0}.related-simplify a:hover{color:#e74c3c}
.related-simplify ul li{padding:5px 0}
.related-simplify ul li:before,.related-simplify ul li:hover:before{display:none}}
<!-- Chèn tiện ích bài viết liên quan (Related posts) END-->

Bước 3: Tìm đến thẻ hiển thị nội dung bài viết <data:post.body/> và thay thẻ này bằng đoạn code sau

<!-- Chèn tiện ích bài viết liên quan (Related posts) Star-->
<div expr:id='&quot;post1&quot; + data:post.id'/>
<div class='related-simplify'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=3&quot;' type='text/javascript'/>
</b:if>
</b:loop>
</b:if>
<h4>Bài viết cùng chuyên mục</h4>
<script type='text/javascript'>
removeRelatedDuplicates();
printRelatedLabels();
</script>
</div>
<div expr:id='&quot;post2&quot; + data:post.id'><p><data:post.body/></p></div>
<script type='text/javascript'>
var obj0=document.getElementById(&quot;post1<data:post.id/>&quot;);
var obj1=document.getElementById(&quot;post2<data:post.id/>&quot;);
var s=obj1.innerHTML;
var t=s.substr(0,s.length/2);
var r=t.lastIndexOf(&quot;&lt;br&gt;&quot;);
if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+4);}
</script>
<!-- Chèn tiện ích bài viết liên quan (Related posts) END-->

Cuối cùng Lưu Mẫu lại và xem kết quả nhé !


thumbnail

TOP 5 TEMPLATE BLOGSPOT BÁN HÀNG CHUẨN SEO ĐẸP NHẤT NĂM 2017


Xem Thêm
Template blogspot chuẩn seo là template blogspot phải được tối ưu thẻ meta, tối ưu heading ( các thẻ h1, h2, h3...), đồng thời tối ưu keyword là các thẻ alt và title; được tối ưu css, js, javascript đảm bảo tốc độ load trang nhanh.... ngoài ra tùy từng mục đính seo sẽ có những tiêu trí đánh giá riêng.

Việc chọn những template blogspot chuẩn seo sẽ giúp cho các bạn dễ dàng hơn trong việc làm seo blogger

Top 5 Template blogspot bán hàng chuẩn seo đẹp nhất năm 2017

Tổng hợp top 5 template blogspot bán hàng có giao diện đẹp, đầy đủ các tính năng và đặc biệt là đã được tối ưu seo khá tốt.
Dưới đây là giới thiệu cụ thể về Top 5 template blogger bán hàng chuẩn seo, với những tính năng chung và riêng.

1. Template blogpsot bán hàng bizmax

Template blogpsot bán hàng bizmax

Giao diện template blogger 2 cột truyền thống, template blogspot bán hàng bizmax giúp các bạn đưa được nhiều thông tin ra ngoài trang chủ đồng thời có nhiều hơn vị trí đặt quảng cáo, các chương tình khuyến mãi hơn không chỉ ở slidebar ảnh trượt....điều này rất tiện cho khách hàng quan sát và theo dỗi các chương trình chăm sóc khách hàng của website. Với bố cục giao diện vậy, template blogspot bán hàng bizmax phù hợp làm website bán hàng với nhiều mặt hàng khác nhau.
Menu dạng danh mục, công cụ tìm kiếm thiên về tìm kiếm sản phẩm, trang chủ phân mục sản phẩm rất tiện lợi cho khách hàng tìm kiếm sản phẩm cũng như mua sắm.
Giỏ hàng, đơn đặt hàng giúp khách hàng dễ dàng quản lý đơn hàng cũng như thanh toán nhanh, thông tin đơn hàng ( Thông tin khách hàng và thông tin sản phẩm, giá bán) sẽ được gửi trực tiếp vào mail giúp bạn dễ dàng quản lý đơn hàng.
Template blogspot có mục tin tức giúp bạn dễ dàng viết bài pr cho sản phẩm, cũng như giới thiệu hoạt động của cửa hàng, doanh nghiệp.
+ Template được thiết kế tương thích với mọi thiết bị ( di động, pc, ipad...) phù hợp làm website bán hàng online
Có trang 404, trang liên hệ chuyên nghiệp.
Template blogspot bán hàng bizmax được tối ưu chuẩn seo, tốc độ load trang tương đối nhanh.
+ Không bị chặn ảnh bời nhà mạng
....
Kết luận: Đây là template blogger bán hàng chuẩn seo, tổng hợp được nhiều mặt hàng







thumbnail

CHIA SẺ TEMPLATE CÁ NHÂN CHUẨN SEO


Xem Thêm
Chia sẽ template blogspot cá nhân miễn phí chuẩn seo được LiveWebBlogspot chuyển mã nguồn từ trang hocban.vn về blogger, một mẫu giao diện được yêu cầu trong chương trình thiết kế template blogger theo yêu cầu miễn phí để tri ân quý khách hàng và các bạn đã ủng hộ chúng tôi trong suốt thời gian qua. Đây là một mẫu đơn giản, tuy nhiên đẹp, tối ưu chuẩn seo, tốc độ load trang tương đối nhanh.

Chia sẻ template blogger miễn phí đợt 1 ngày 07/01/2017


chia-se-template-blogspot-ca-nhan-mien-phi-chua-seo

Một số tính năng của template blogspot

Template blogspot được tối ưu chuẩn seo, meta, heading....
- Dạng template blogspot 2 cột, rất thân tiện với việc làm seo
- Được tích hợp responsive thân thiện với mọi thiết bị.
- Template blogspot cá nhân được chuyển mã nguồn về blogger gồm 2 phiên bản.
         + Phiên bản 1: lấy thumbnail chung cho các bài viết.
         + Phiên bản 2: Lấy ảnh thumbnail tự động ảnh đầu tiên trong bài viết
- Không bị mã hóa bản quyển cũng như mã hóa code,tuy nhiên mong các bạn để cho mình dòng text ( chia sẻ bởi Công Nghệ Webblog).
- Bố cục đẹp. gon gàng. Tốc độ load trang nhanh

template-blogspot-ca-nhan-mien-phi-chuan-seo

Hướng dẫn sử dụng, cài đặt template blogspot

Đã gửi kèm theo template.
thumbnail

CHIA SẺ TEMPLATE BLOGSPOT KHOAHOC.TV


Xem Thêm
Theo chương trình thiết kế blogger theo yêu cầu miễn phí tri ân mọi người đã tin tưởng Template blogspot Free Download trong suốt thời gian qua. Mình xin tiếp tục chia sẻ tới các bạn một template blogspot có thể làm 1 trang tin tức, hoặc một blog cá nhân rất đẹp và chuyên nghiệp.

Template blogspot khoahoc.tv

- Giao diện full responsive, tương thích hầu hết các thiết bị giao diện.
- Được tối ưu cẩn thận, hoạt động độc lập với website được chuyển mã nguồn.
Template blogspot chuẩn seo, được tối ưu meta và các yếu tố khác.
- Có file hướng dẫn gửi kèm và data.xml để các bạn có thể dễ dàng test thử.


>> Xem thêm mẫu cá nhân chuẩn seo: Template blogspot cá nhân hocban.vn
Hoặc nếu các bạn quan tâm tới các mẫu template blogpsot bán hàng thì:
>>>Xem thêm: Template blogspot bán hàng chuẩn seo

Khi viết hướng dẫn trong file hướng dẫn gửi mọi người mình thiếu hướng dẫn gọi bài viết vào mục slide trượt. Các bạn xem thêm phần này nha. 
Bước 1. Vào code tìm đoạn này


<script language='JavaScript'> //<![CDATA[
document.write("<script src=\"/feeds/posts/default/-/Thu-thuat?max-results="+3+"&orderby=published&alt=json-in-script&callback=showrecentposts02\"><\/script>"); //]]>
</script>

Bước 2: 
+ Nếu bạn muốn ở mục slide gọi bài viết theo nhãn nhất định thì bạn chỉ việc thay nhãn Thu-thuat thành nhãn bài viết bạn muốn hiển thị ở mục đó.
+ Nếu bạn muốn tự động gọi bài viết mới nhất bạn thay đoạn script trên thành đoạn script bên dưới, và lưu lại
<script language='JavaScript'> //<![CDATA[
document.write("<script src=\"/feeds/posts/default?max-results="+3+"&orderby=published&alt=json-in-script&callback=showrecentposts02\"><\/script>"); //]]>
</script>
Đã để link tải full không mã hóa. mọi người không cần để lại mail. chỉ cần like và chia sẻ ủng hộ Công Nghệ Webblog để chúng tôi lấy động lức làm và chia sẻ nhiều mẫu đẹp hơn. Thân!

thumbnail

MẪU BLOGSPOT TIN TỨC GIỐNG BLOGTAMSU.VN BLOGTAMSU.VN


Xem Thêm
Nhân dịp Công Nghệ Webblog tròn 2 năm tuổi, chúng tôi xin gửi tặng tới các bạn một mẫu giao diện template blogspot tin tức đẹp giống giao diện blogtamsu.vn ( bản cũ).

template-blogspot-tin-tuc-giong-blogtamsu.vn

Giới thiệu một số tính năng của template blogspot này

- Thiết kế trên nền tảng blogspot dạng tạp chí, tin tức.
- Tương thích với các thiết bị di động, được tích hợp full responsive.
- Tối ưu các vị trí đặt quảng cáo, 
- Có nút chia sẻ mạng xã hội, bình luận facebook
- Tối ưu seo cơ bản.
.....
và rất nhiều tính năng khác.

thumbnail

CHIA SẺ TEMPLATE CLEANBLOG BẢN PREMIUM


Xem Thêm
Template blogspot cleanblog đang được khá nhiều bạn quan tâm. Nay xin mạn phép chia sẻ tới những bạn nào thật sự cần để làm website vệ tinh hay viết blog. Đây là bản template cleanblog  premium đang được bán với giá 20$. ( Những bạn nào đang là khách tại Công Nghệ Webblog thì inbox trực tiếp với bạn Hoàng Thiên ).


template-cleanblog-mien-phi

Một số tính năng của template blogspot

  • Thiết kế chuấn seo, chuẩn responsive
  • Tốc độ tải trang cao, khá nhẹ nhàng
  • Có tối ưu các vị trí đặt quảng cáo
  • Bản full code không bị mã hóa, cũng như dính bản quyền
  • Phù hợp làm blogspot cá nhân, viết bài chia sẻ.

Để được nhận mẫu bạn làm theo các bước sau:

Bước 1: Chia sẻ bài viết này lên Facebook của các bạn.
Bước 2: Để lại Email để nhận template blogspot
thumbnail

Facebook v59.0.0.0.189


Xem Thêm


Sign up directly here: 
http://play.google.com/apps/testing/com.facebook.katana

Problems downloading or installing the app? See http://bit.ly/GPDownload1
Still need help? Please tell us more about the issue. http://bit.ly/invalidpackage

Facebook is only available for users age 13 and over.
Terms of Service: http://m.facebook.com/terms.php.

Keeping up with friends is faster than ever.

• See what friends are up to
• Share updates, photos and videos
• Get notified when friends like and comment on your posts
• Play games and use your favorite apps

Now you can get early access to the next version of Facebook for Android by becoming a beta tester. Learn how to sign up, give feedback and leave the program in our Help Center: http://on.fb.me/133NwuP
Sign up directly here:
http://play.google.com/apps/testing/com.facebook.katana

Problems downloading or installing the app? See http://bit.ly/GPDownload1
Still need help? Please tell us more about the issue. http://bit.ly/invalidpackage

Facebook is only available for users age 13 and over.
Terms of Service: http://m.facebook.com/terms.php.