Kích Sóng Wifi 6

📡 Kích Sóng Wifi 6 Râu Tốc Độ Cao

💎 Shop tài trợ: 3C-DOJI

Bộ kích sóng Wifi 6 – tốc độ 1200Mbps, xuyên tường mạnh mẽ. Giá 135K!

Voucher Nhận Voucher

Tạo bài viết liên quan hiển thị giữa bài đăng trong blogspot 2010



Tiện ích bài viết liên quan là 1 tính năng không thể thiếu đối với 1 website nói chung và blogspot nói riêng bởi nó sẽ giúp giữ chân khách truy cập lâu hơn thông qua các chủ đề có liên quan đến các bài viết mà họ đang xem. Vì là nền tảng miễn phí cho nên blog cung cấp rất ít các tùy chọn hiển thị bài viết liên quan đặc biệt đối với những bạn muốn hiển thị các bài viết liên quan ở giữa bài đăng trong blogspot và đây chính là thủ thuật mà clash of clans việt muốn giới thiệu với các bạn trong bài viết hôm nay !!!


  • [col]
    • Các bạn có thể chủ động chọn vị trí " Bài viết liên quan " muốn hiện thị ở bất cứ đâu trong bài đăng của mình ở đây clash of clans việt sẽ hiển thị nó ở giữa bài viết





Bước 1: Vào trong trang quản trị  Blog  Chủ Đề  Chỉnh sửa html  > Tìm đến thẻ đóng   </head>  và cody đoạn code dưới đây vào trước thẻ đóng  </head> 

  • [col]
    • Để hiển thị được bài viết liên quan giữa bài đăng trong blog như trên các bạn thực hiện như sau cũng rất đơn giản thôi chúng ta cùng bắt đầu nhé. Để tìm kiếm nhanh các đoạn code các bạn nhấn tổ hợp phím Ctrl + F và copy đoạn code muốn tìm vào khung như hình vẽ bên cạnh

[<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>]


  • [col]
    • Bước 2 : Tìm đến đoạn thẻ  ]]></b:skin>  và cody đoạn code phía dưới lên trước ]]></b:skin> như hình bên. Ở bước này có 1 số mẫu " Bài viết liên quan " để các bạn lựa chọn


Kiểu 1.


[/*Đoạn Code kiểu 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)}}]

 Kiểu 2.

[/* Đoạn code kiểu 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}}]

Kiểu 3.


[/* Đoạn code kiểu 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}}]


  • [col]
    • Bước 3: Tìm đến thẻ  <data:post.body/>  và thay thế nó bằng đoạn code phía dưới. Thông thường sẽ có 2-3 đoạn code <data:post.body/> trong blog các bạn thử thay thế ở tất cả để test nhé

 

[<div expr:id='&quot;post1&quot; + data:post.id'/>
<br/><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>
<script type='text/javascript'>
removeRelatedDuplicates();
printRelatedLabels();
</script>]


Sau khi làm xong các bước trên hãy lưu mẫu template lại, bây giờ tiện ích bài viết liên quan hiển thị giữa bài đăng trong blog đã xuất hiện rồi đây, nếu có bất cứ câu hỏi nào các bạn vui lòng bình luận phía dưới bài viết này nhé và cũng đừng quên thường xuyên truy cập clash of clans việt để theo dõi các thủ thuật blog mới nhất


COMMENTS

Máy Game Điện Tử 4 Nút

🕹 Combo 2 Máy Game Điện Tử 4 Nút HDMI – 688 Game

🎯 Shop tài trợ: Điện Tử 4 Nút Xưa

Trọn bộ 2 máy game 4 nút kết nối HDMI, tích hợp sẵn 688 trò chơi kinh điển. Cắm là chơi ngay, hoài niệm tuổi thơ, giải trí cùng gia đình và bạn bè. Giá chỉ 1350K!

Voucher Nhận Voucher
🛍️
Gợi ý phụ kiện hay ho
giá điện thoại, máy tính bảng

Giá đỡ điện thoại, máy tính bảng

Kẹp cạnh bàn xoay 360°, điều chỉnh mọi góc độ.

🎟️ Nhận Voucher -20%
Găng tay chơi game

Găng tay chơi game

Chống trượt, siêu nhạy, dành cho game mobile.

🎟️ Nhận Voucher
Ghế gaming

Ghế gaming full lưng

Công thái học, ngả 145° — chơi game cực đã.

🎟️ Nhận Voucher
Tai nghe gaming

Tai nghe Gaming Bluetooth

Tai nghe Bluetooth 5.3, âm thanh HiFi, gamings mượt.

🎟️ Nhận Voucher
Kích Sóng Wifi

Kích Sóng Wifi 6 Râu

Xuyên tường, tốc độ cao – mở rộng vùng phủ Wifi.

🎟️ Nhận Voucher
Bộ tản nhiệt

Bộ tản nhiệt điện thoại

Giữ máy mát khi chơi game lâu, tiện cổng USB.

🎟️ Nhận Voucher
Name

About-us,1,Airdrop,10,App-paypal,17,Auto,15,Ban-tin-coc,487,base,2,Base Layout,1,Base- hall-10,1,Base-Boombeach,1,Bay,1,BH-10,6,BH-4,2,BH-5,3,BH-6,2,BH-7,1,BH-8,3,BH-9,3,BH10,9,bi-an,6,BIDV,1,Binance,2,Brawlstars,1,Brawstars,1,Buit-phong-thu,37,Cake,4,Capital-peak-10,1,Clans-do-sat,21,Clash of Clans,1,Clash-roylae,4,clashroyale,1,Co-may-cong-thanh,1,Co-the-ban-chua-biet,133,da,1,Dac-tinh-quan,50,Dai-quan-giao,1,Dragon-Ball-Kanzenban,1,Game-lien-quan,51,Game-moblie,45,Game-NFT,6,game-pc,8,Gioi-thieu,1,Hall-10,24,Hall-11,14,Hall-12,16,Hall-13,10,Hall-14,12,Hall-15,2,Hall-16,7,Hall-17,5,Hall-3,1,Hall-4,5,Hall-5,10,Hall-6,17,Hall-7,15,Hall-8,20,Hall-9,25,Hall12,1,Hay-day,1,Hero,17,hidden,1,Hoang-tu-minion,1,Kiem-tien-online,151,Kim-chi-va-cu-cai-2019,2,Lap-mang-fpt-hai-phong,89,Lien-he,1,Lien-ket-tiep-thi,10,Man-di-vuong,1,MBBANK,2,Mo-the-atm-online,25,mo.co,1,Mod-Clash,1,Momo,7,Mua-lan,38,Mydefipet,2,Nu-hoang-cung-thu,1,Nu-tuong-hoang-gia,1,Null-clash,2,Office,2,Phan-mem,100,phan-mem-mobile,39,phan-mem-pc,23,Phim-anh,4,Pi-network,50,Privacy-Policy,1,PUBG,8,Quan-doi-base,9,Remitano,1,Sacombank,2,San,7,Shopee,6,spc,8,spell,1,spell-dark-elixir,9,spell-elixir,13,Squadbusters,1,Suc-khoe,9,Tai-game-Boom-beach,1,Tai-game-coc,1,Template-app,2,Template-ban-hang,2,Template-game,2,Template-nhac,1,Template-phim,20,Template-thu-vien-anh,3,template-tin-tuc,12,Template-truyen-tranh,8,TH11,2,th12,3,Than-chu,4,Than-chu-bat-nhay,1,Than-chu-hoi-mau,1,Than-chu-sam-set,1,Than-chu-trieu-hoi,1,The-thao,14,Thong-tin-cong-nghe,58,Thu-thuat-blog,17,Thu-thuat-pc,5,Tien-dien-tu,31,Timo,3,tin,1,Tin-gioi-tre,32,Tin-tuc,69,Tin-tuc-Bitcoin,101,Tin-tuc-boombeach,1,Tin-tuc-coc,1,tin-tuc-crypto,2,Tin-tuc-tien-dien-tu,8,Toa-nha-tai-nguyen,5,Top 37 Base coc TH12 đẹp thủ tốt mới nhất 2025,1,Vat-pham-than-ky,13,Vi-dien-tu,1,video-farm,20,Video-hai,10,video-war,27,Vietcombank,1,Vietinbank,1,Vo-lam-truyen-ky,2,VPBank,2,War-builder-base,4,Xep-nha-hall-12,1,Xep-nha-thu,3,Xep-nha-thu-bh,8,Xep-nha-thu-war,17,Xep-nha-troll,5,
ltr
item
Clash of Clans Việt: Tạo bài viết liên quan hiển thị giữa bài đăng trong blogspot 2010
Tạo bài viết liên quan hiển thị giữa bài đăng trong blogspot 2010
Tiện ích bài viết liên quan là 1 tính năng không thể thiếu đối với 1 website nói chung và blogspot nói riêng bởi nó sẽ giúp giữ chân khách truy cập lâu hơn thông qua các chủ đề có liên quan đến các bài viết mà họ đang xem. Vì là nền tảng miễn phí cho nên blog cung cấp rất ít các tùy chọn hiển thị bài viết liên quan đặc biệt đối với những bạn muốn hiển thị các bài viết liên quan ở giữa bài đăng trong blogspot và đây chính là thủ thuật mà clash of clans việt muốn giới thiệu với các bạn trong bài viết hôm nay !!!
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIDcIrOchZtyeNyBMzQCKfb_fB_JmrAjQCVTlel6d0awckLsZCQKhyphenhyphenIbzpuLVcR4tg8Pakymy0hyWKP2tqUV1kcf7jvcca0U42uyCYTYweoaeyiCglLDJxHMdNZo6efHFjd5Tc5ixypQNh/s640/tao-bai-viet-lien-quan-o-giua-bai-dang-blogspot-2020.PNG
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIDcIrOchZtyeNyBMzQCKfb_fB_JmrAjQCVTlel6d0awckLsZCQKhyphenhyphenIbzpuLVcR4tg8Pakymy0hyWKP2tqUV1kcf7jvcca0U42uyCYTYweoaeyiCglLDJxHMdNZo6efHFjd5Tc5ixypQNh/s72-c/tao-bai-viet-lien-quan-o-giua-bai-dang-blogspot-2020.PNG
Clash of Clans Việt
https://www.clashofclansviet.com/2019/12/tao-bai-viet-lien-quan-hien-thi-giua-bai-dang-trong-blogspot-2020.html
https://www.clashofclansviet.com/
https://www.clashofclansviet.com/
https://www.clashofclansviet.com/2019/12/tao-bai-viet-lien-quan-hien-thi-giua-bai-dang-trong-blogspot-2020.html
true
3345287795156014315
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All Có Thể Bạn Sẽ Thích LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock STEP 2: Chia sẻ bài đăng lên mạng xã hội Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Nội Dung Bài Viết