Simplify 2
Simplify 2 Responsive Blogger Template template ini merupakan versi ke 2 dari template Simplify. Ada beberapa fitur yang ditambahkan dan juga dengan tampilan yang lebih berwarna dari template sebelumnya. Untuk versi premium dari template Simplify 2 ini sudah Saya gabungkan dengan versi pertama.
Berikut fitur dari template Simplify 2
| Features | Availability |
|---|---|
| Responsive | True Cek |
| Google Testing Tool Validator | True Cek |
| SEO Friendly | True Cek |
| Mobile Friendly | True Cek |
| Dynamic Heading | True |
| Adsense | True |
| Valid Schema.org | True |
| High CTR | True |
| Personal Blog | True |
| 2 Column | True |
| Auto Read More with Thumbnail | True |
| Responsive Ad Slot | True |
| Breadcrumbs | True |
| Footer Link | True |
| Related Posts with Thumb | True |
| Search Box | True |
| Social Share Button | True |
| Responsive Sticky Navigation | True |
| Back to Top Button | True |
| Shortcodes | True |
| Unlimited Page Numbered | True |
| Recent Post with Thumbnail | True |
| Custom Contact Form Widget | True |
| Responsive Sitemap Widget (by Kompi Ajaib : Edited by Dunia Blanter) | True |
Live Preview
Premium Version 1
Premium Version 2
Premium Version 1
Premium Version 2
See it live with all the features that exist, both on the homepage and the page posts.
Free Download
$3.84 - Buy Now
$3.84 - Buy Now
Support Template Update
Remove Footer Credits
For Unlimited Domains
No Encrypted Scripts
4 Style
And Much More...
Remove Footer Credits
For Unlimited Domains
No Encrypted Scripts
4 Style
And Much More...
Fanblog Việt - Template Blogger cá nhân đẹp load nhanh
Fanblog Việt là một template blogger đẹp cho trang blog cá nhân, Với thiết kế Responsive, chuẩn Seo, đặc biệt là load nhanh :D
Tuy nhiên bản này mình chưa tối ưu các code cần thiết. Nếu có ý sử các bạn có thể thêm và sửa nó theo ý thích.
Chúc các bạn thành công!
Tuy nhiên bản này mình chưa tối ưu các code cần thiết. Nếu có ý sử các bạn có thể thêm và sửa nó theo ý thích.
Nếu có vấn đề gì các bạn có thể bình luận xuống phía dưới, mình sẽ giải đáp ngay.
Chúc các bạn thành công!
Sales Landing Page Responsive Blogger Template
| NLight Template Blogspot Responsive 2016 |
BBlog xin giới thiệu một Template Landing Full Responsive cho blogger, đẹp và thân thiện với người dùng.
Template này hiện đang được bán với giá 199k, vui lòng liên hệ để biết thêm chi tiết.
| Features | Availability |
|---|---|
| Responsive | True - Check |
| Google Testing Tool Validator | True - Check |
| Dynamic Heading | True |
| Adsense Ready | True |
| Valid Schema.org | True |
| High CTR | True |
| About the company | True |
| Auto Read More with Thumbnail | True |
| Responsive Ad Slot | True |
| About Me Widget | True |
| Social Share Button | True |
| Responsive Dropdown Menu | True |
| Smooth Back to Top | True |
| Unlimited Page Numbered | True |
Tặng Template free ở đây
2 Tool trực tuyến giúp kiểm liên kết gẫy hiệu quả
Liên kết gẫy là gì?
Liên kết gẫy là liên kết đến website của bạn nhưng đã bị lỗi, những liên kết đến trang 404 error, những back link bạn đi diễn đã đã bị xóa hoặc bannick....
Việc có nhiều liên kết gẫy sẽ ảnh hưởng rất nhiều đến thứ hạng của trang website của bạn.
2 Tool trực tuyến check liên kết gẫy free
- W3C Link Checker
- Internet Marking Ninjas
Khắc phục liên kết gẫy
Khi check được các liên kết gẫy thì việc tiếp bạn làm theo 2 cách mình hướng dẫn dưới đây
Cách 1: Vào webmaster tool -> chỉ mục google -> xóa Url, bạn hãy xóa hết các liên kết gẫy, việc này rất tốt cho seo
Cách 2: Tạo trang lỗi 404 error tự chuyển về trang chủ.
( mình sẽ hướng dẫn các bạn cụ thể ở trong phần tới)
Kết luận: Để tốt cho SEO thì việc check liên kết gẫy và khắc phục nó là một công việc cần thiết. Chúc các bạn có một ngày làm việc hiệu quả.
Nguồn: Interner
Pop-up giới thiệu cá nhân cho blogspot
Cài đặt Pop up giới thiệu cá nhân - Cài đặt một nút (button) khi bấm vào nó là bật lên một hộp thoại ( pop-up ) trên một loạt các thông tin , chẳng hạn như số lượng bài viết , mô tả blog, và một số liên kết phương tiện truyền thông xã hội (xem hình trên).
Đăng nhập vào BloggerChọn Mẫu > Chỉnh sửa HTMLPop up sử dụng FontAwesome , vì vậy bạn phải thêm mã sau vào phần </head> (nếu template bạn có sẵn rồi thì bỏ qua)
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet"></link>Thêm đoạn dưới đây trước ]]></b:skin> hoặc </style>
/* About Us */
.boxinner{z-index:99;width:100%;height:575px;position:absolute;left:50%;margin-left:-310px;top:70px}
.contentbox{position:absolute;background-color:#fff;top:30px;right:0;left:0;bottom:0;box-shadow:0 1px 5px rgba(0,0,0,.1)}
headbanger{background:#ff675c;height:70px;width:100%;position:inherit}
#textlogo{background:rgba(0,0,0,0.1);color:#fff;line-height:70px;text-align:center;font-size:200%;position:inherit;width:68.5%;box-sizing:initial}
#left{background:#fff;color:#666;top:70px;bottom:0;right:0;padding:20px 0 0 0;width:200px;position:inherit}
#left a{color:#888;transition:initial;}#left a:hover{color:#fff;}
#left i {margin:0 10px 0 0}
.taber1,.taber2,.taber3,.taber4,.taber5,.taber6,.taber7{cursor:pointer;padding:15px;color:#888;}
.taber1:hover{background:#ff6733;color:#fff}.taber2:hover{background:#e74c3c;color:#fff}.taber3:hover{background:#2980b9;color:#fff}.taber4:hover{background:#27C9E9;color:#fff}.taber5:hover{background:#3ca9d0;color:#fff}
.taber6:hover{background:#383838;color:#fff}.taber7:hover{background:#f39c12;color:#fff}
#left .taber1:hover a,#left .taber2:hover a,#left .taber3:hover a,#left .taber4:hover a,#left .taber5:hover a,#left .taber6:hover a,#left .taber7:hover a{color:#fff}
#aboutus{background:#fafafa;width:62.2%;padding:20px 20px 40px 20px;color:#444;text-align:left;position:inherit;float:left;line-height:normal}
#aboutus img{margin:10px auto 0 auto;display:table;border-radius:100%;max-width:140px;box-shadow:0 0 0 5px rgba(0,0,0,.03)}
.scrollbarbox{overflow:hidden;text-align:justify;margin:55px 0 0 0}
.scrollbarbox .innerone{height:480px;overflow:auto}
#popup{display:none;opacity:0;visibility:hidden;transform:scale(1.1);-webkit-backface-visibility:hidden;-webkit-font-smoothing:antialiased;z-index:1003;transition:transform .6s cubic-bezier(.175,.885,.32,1.275),opacity .3s,visibility .3s}
#popup:target{display:block;position:fixed;top:0;left:0;right:0;bottom:0;margin:0;z-index:999;opacity:1;visibility:visible;margin:auto;transform:scale(1.0);}
.popup-container{position:relative;margin:0 auto;padding:20px}
a.popup-close{position:absolute;border-radius:50px;right:20px;line-height:50px;margin:0 auto;font-size:16px;text-decoration:none;color:rgba(0,0,0,0.2);font-family:fontawesome}
a.popup-close:hover{color:rgba(0,0,0,0.6);}
.totalposts{margin:auto;display:table;text-align:center}
.totalposts .totalnumber{display:inline;font-weight:700;font-size:300%;color:#aaa}
.totalposts .totallabel{display:block;color:#aaa;font-weight:700}
li.infoarlina{border:0;}
li.infoarlina a{background:#ff675c;color:#fff;display:block;margin:16px 0;padding:4px 8px;border-radius:3px;font-size:90%;font-weight:700;transition:background-color .3s}
li.infoarlina a:hover{background:#e4554b;color:#fff;}
@media (min-width:768px){.popup-container{width:600px}}
@media (max-width:767px){.popup-container{width:100%}}Sau đó, thêm đoạn mã dưới đây sau <body>
<div class='popup-wrapper' id='popup'>
<div class='popup-container'>
<div class='boxinner'>
<div class='contentbox'>
<headbanger><span id='textlogo'>Fanblog Việt</span>
<a class='popup-close' href='#closed' title='Close'><i class='fa fa-times'/></a>
</headbanger>
<br/>
<div class='scrollbarbox'>
<div class='innerone'>
<div id='aboutus'>
<img alt='Fanblog Việt' height='140' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhksq5c7vBVwiUYIxK65sDBzN2Bj1ukNeRAW3kyalu0JoOLOel6XY98KmTYc2ceeGi-WS1vQaWgn6Gdjlw8WtKnaK0MowvWcmhsNVMcaWqbsGPCjReiYK-kawEvF3mTqzZ84Osmfg7dlsBy/s1600/Arlina+Design.png' title='Arlina Design' width='140'/><br/>
<script src='http://www.arlinadzgn.com/feeds/posts/default?alt=json-in-script&callback=getposts'/><br/><br/>
Arlina Design merupakan sebuah blog pribadi tempat Saya berbagi mengenai tips seputar blogger dan template khusus blogger.<br/><br/>
Mudah-mudahan kedepannya blog ini dapat memberikan kontribusi serta informasi bermanfaat bagi Anda semua. Terima kasih.
</div></div></div>
<div id='left'>
<div class='taber1'><a href='#' target='_blank' title='Soundcloud'><i class='fa fa-soundcloud fa-fw'/> Soundcloud</a></div>
<div class='taber2'><a href='#' rel='nofollow' target='_blank' title='Follow Us On Google Plus'><i class='fa fa-google-plus fa-fw'/> Google Plus</a></div>
<div class='taber3'><a href='#' rel='nofollow' target='_blank' title='Follow Us On Facebook'><i class='fa fa-facebook fa-fw'/> Facebook</a></div>
<div class='taber4'><a href='#' rel='nofollow' target='_blank' title='Follow Us On Twitter'><i class='fa fa-twitter fa-fw'/> Twitter</a> </div>
<div class='taber6'><a href='#' rel='nofollow' target='_blank' title='Follow Us On Codepen'><i class='fa fa-codepen fa-fw'/> Codepen</a></div>
<div class='taber7'><a href='https://www.blogger.com/follow-blog.g?blogID=757241125582091314' rel='nofollow' target='_blank' title='Join this blog'><i class='fa fa-users fa-fw'/> Join this blog</a></div>
</div></div></div></div></div>Nhớ thay đổi thông tin và hình ảnh của bạn. Thêm đoạn sau trước </head>
<script type='text/javascript'>
//<![CDATA[
// Total Posts
function getposts(json){var totalposts=json.feed.openSearch$totalResults.$t;document.write('<div class="totalposts"><span class="totalnumber">'+totalposts+'</span><span class="totallabel">Artikel yang di Publish</span></div>');}
//]]>
</script>Sau đó đặt phần code dưới đây vào chỗ bạn muốn hiển thị (vd. Menu navigasi, sidebar, dsb)
<li class='infoarlina'><a class='popup-link' href='#popup'>Info</a></li>
Lưu lại và xem thành quả.
Share Button Responsive với Count Blog
Cài Đặt Share Button Responsive với Count Blog - Hôm nay mình xin chia sẻ một widget mà mình sưu tầm được. Đây là tiện ích rất hữu ích cho blogger, nó đơn giản và dễ cài đặt. Hiệu quả mà nó mang lại không hề đơn giản chút nào :D
Widget này sử dụng fontawesome, đảm bảo răng website của bạn đã chèn link fontawesome.
Hướng dẫn cài đặt Responsive Button Chia sẻ với Counter Blog
1. Đăng nhập vào Blogger > Template > Chỉnh sửa HTML > Coppy đoạn bên dưới và dán nó sau thẻ ]]></b:skin> hoặc </style>
/* Share Button dengan Counter untuk Blogger by http://twistedshape.blogspot.com */
.arlina_share_button{position:relative;z-index:2;width:100%;padding:20px 0;display:inline-block;margin:20px auto;border-bottom:2px solid rgba(0,0,0,.08)}
.arlina_share_button .share_blog {display:block;}
.arlina_share_button .share_blog .wrap {text-align:center;margin:0 auto;display:inline-block;min-width:41px;}
.arlina_share_button .share_blog .wrap1 {display:inline-block;width:31px;float:left;}
.arlina_share_button .share_blog ul {margin:0;padding:0;}
.arlina_share_button .share_blog ul li{list-style:none;list-style-type:none;padding:0;margin:2px;float:left;width:16%;max-width:115px;display:inline-block;font-size:13px;overflow:hidden;text-align:left;height:32px;line-height:32px;color:#fff;border-radius:3px;transition:all .4s}
.arlina_share_button .share_blog ul li a,.arlina_share_button .share_blog ul li a:hover{color:#fff;cursor:pointer;line-height:32px;height:100%;display:block;text-decoration:none}
.arlina_share_button .share_blog ul li .fa{color:#fff;font-size:16px;font-weight:normal;font-family:FontAwesome;display:inline-block;text-align:center;padding:0;height:32px;line-height:inherit;width:30px;background-color:rgba(0,0,0,.05)}
.arlina_share_button .share_blog .btn_fb{background:#3a579a}.arlina_share_button .share_blog .btn_fb:hover{background:#314a83}.arlina_share_button .share_blog .btn_twtr{background:#00abf0}.arlina_share_button .share_blog .btn_twtr:hover{background:#0092cc}.arlina_share_button .share_blog .btn_gplus{background:#df4a32}.arlina_share_button .share_blog .btn_gplus:hover{background:#be3f2b}.arlina_share_button .share_blog .btn_pntrst{background:#cd1c1f}.arlina_share_button .share_blog .btn_pntrst:hover{background:#ae181a}.arlina_share_button .share_blog .btn_linkdin{background:#2554BF}.arlina_share_button .share_blog .btn_linkdin:hover{background:#224EB4}
.arlina_share_button .share_blog .share.h6{font-size:10px;font-weight:700;text-align:center;color:#999;border-top:1px solid #e3e3e3;padding:8px 0 0;margin:8px auto 0;line-height:8px;width:42px;letter-spacing:.5px}
.arlina_share_button .share_blog .share{margin:5px 5px 0 0;overflow:visible;width:95px}
.arlina_share_button .share_blog .share .count.h4{font-size:22px;font-weight:700;text-align:center;color:#ff8349;line-height:16px;margin:-8px 0 0;min-height:15px}
.arlina_share_button .share_blog .btn_fb .share-btn,.arlina_share_button .share_blog .btn_twtr .share-btn,.arlina_share_button .share_blog .btn_gplus .share-btn,.arlina_share_button .share_blog .btn_pntrst .share-btn,.arlina_share_button .share_blog .btn_linkdin .share-btn{position:relative;color:#fff;display:inline-block;text-align:center;font-weight:700;font-size:11px;float:right;min-width:12px;padding:0 8px 0 0}
@media only screen and (max-width: 979px) {
.arlina_share_button .share_blog .btn_linkdin {width:34px;}
.arlina_share_button .share_blog .btn_fb .share-btn,.arlina_share_button .share_blog .btn_twtr .share-btn,.arlina_share_button .share_blog .btn_linkdin .share-btn,.arlina_share_button .share_blog .btn_gplus .share-btn,.arlina_share_button .share_blog .btn_pntrst .share-btn{display:none}}
@media only screen and (max-width:768px) {
.arlina_share_button .share_blog ul li a,.arlina_share_button .share_blog ul li a:hover{color:#fff;cursor:pointer;line-height:32px;font-size:11px;height:100%;display:block}.arlina_share_button .share_blog .wrap{min-width:34px}.arlina_share_button .share_blog .btn_linkdin,.arlina_share_button .share_blog .btn_pntrst{width:30px}.arlina_share_button .share_blog ul li{margin:1px 3px}}
@media only screen and (max-width:479px) {
.arlina_share_button .share_blog .share{border:0;margin:0 5px 0 1px;overflow:visible;width:80px}.arlina_share_button .share_blog ul li{width:25px;margin:2px;}.arlina_share_button .share_blog .wrap{display:none}.arlina_share_button .share_blog ul li .fa{width:25px}}2. Thêm mã dưới đây vào <data:post.body/> hoặc <div class='post-footer'> hoặc nơi cần đặt tiện ích.
<b:if cond='data:blog.pageType == "item"'>
<div class='arlina_share_button'>
<div class='share_blog'>
<ul>
<li class='share'>
<div class='share-btn' data-service='total'>
<div class='count h4'/>
<div class='share h6'>SHARES</div>
</div>
</li>
<li class='btn_fb'><a expr:href='" http://www.facebook.com/share.php?v=4& src=bm& u=" + data:post.url + " & t=" + data:post.title' onclick='window.open(this.href," sharer" ," toolbar=0,status=0,width=626,height=436" ); return false;' rel='nofollow'>
<div class='wrap1'><i class='fa fa-facebook'/> </div>
<div class='wrap'>Share</div>
<div class='share-btn' data-service='facebook'>
<div class='count'/></div>
</a>
</li>
<li class='btn_twtr'><a expr:href='"https://twitter.com/intent/tweet?url=" + data:blog.url + "&text=" + data:post.title + " via @BBlog - "' onclick='window.open(this.href," sharer" ," toolbar=0,status=0,width=626,height=436" ); return false;' rel='nofollow'>
<div class='wrap1'><i class='fa fa-twitter'/></div>
<div class='wrap'>Tweet</div>
<div class='share-btn' data-service='twitter'>
<div class='count'/></div>
</a>
</li>
<li class='btn_gplus'><a expr:href='"http://plus.google.com/share?url=" + data:blog.url' onclick='javascript:window.open(this.href," " ," menubar=no,toolbar=no,resizbutton_le=yes,scrollbars=yes,height=600,width=600" ); return false; ' rel='nofollow'>
<div class='wrap1'><i class='fa fa-google-plus'/></div>
<div class='wrap'>Share</div>
<div class='share-btn' data-service='google'>
<div class='count'/></div>
</a>
</li>
<li class='btn_pntrst'><a data-pin-config='beside' expr:href='" http://pinterest.com/pin/create/button/?url=" + data:post.url + " &media=" + data:blog.postImageUrl + "&description=" + data:post.title' onclick='window.open(this.href," sharer" ," toolbar=0,status=0,width=626,height=500" ); return false;' rel='nofollow'>
<div class='wrap1'><i class='fa fa-pinterest'/></div>
<div class='wrap'>Pin</div>
<div class='share-btn' data-service='pinterest'>
<div class='count'/></div>
</a>
</li>
<li class='btn_linkdin'><a expr:href='" http://www.linkedin.com/shareArticle?mini=true& url=" + data:post.url + " & title=" + data:post.title + " & summary=& source=" ' onclick='window.open(this.href," sharer" ," toolbar=0,status=0,width=626,height=500" ); return false;' rel='nofollow'>
<div class='wrap1'><i class='fa fa-linkedin'/></div>
<div class='wrap'>Share</div>
<div class='share-btn' data-service='linkedin'>
<div class='count'/></div>
</a>
</li>
</ul>
</div>
</div>
</b:if>Thay thế phần bôi đen bằng tên của bạn.
3. Thêm đoạn code sau đây vào trên thẻ </body>
<b:if cond='data:blog.pageType == "item"'>
<script type='text/javascript'>
//<![CDATA[
// Share Button with Counter
$(document).ready(function(){var t=$("link[rel=canonical]").attr("href");$.getJSON("http://sharecount.twistblogger.com/?url="+encodeURIComponent(t)+"&callback=?",function(t){shares=t.shares,$(".count").each(function(t,e){service=$(e).parents(".share-btn").attr("data-service"),count=shares[service],count>1e3&&(count=(count/1e3).toFixed(1),count>1e3?count=(count/1e3).toFixed(1)+"M":count+="k"),$(e).html(count)})})});
//]]>
</script>
</b:if>4. Lưu lại và kiểm tra kết quả.
Như vậy là bạn đã Cài Đặt Share Button Responsive với Count Blog thành công, nếu có vấn đề gì đừng ngại cmt xuống bên dưới.
Danh sách các thẻ điều kiện của Blogger/Blogspot 2016
Thẻ điều kiện đối với Blogger
Với các thẻ điều kiện if, bạn có thể đưa ra điều kiện để hiển thị một đoạn code, một nội dung nào đó tại trang mà bạn muốn trong blogspot. Nếu tại ABC sẽ hiển thị, hoặc nếu tại ABC sẽ không hiển thị.

1. Nội dung chỉ hiển thị cho trang chủ, trang label (Danh mục), trang lưu trữ archive
2. Nội dung chỉ hiển thị cho trang bài viết (Post)
3. Nội dung chỉ hiển thị trên các trang tĩnh (Static Pages)
4. Nội dung chỉ hiển thị cho trang lưu trữ (Archive)
5. Nội dung chỉ hiển thị cho trang chủ (HomePage)
6. Nội dung chỉ hiển thị cho một URL chỉ định (thay URL_HERE bằng 1 URL bạn cần hiển thị)
7. Nội dung hiển thị cho Trang (Page) và bài viết (Post)
8. Hiển thị nội dung trên các trang Label (Nhãn)
9. Hiển thị nội dung cho nhãn (label) được chỉ định (ví dụ: Blogspot)
10. Chỉ hiển thị nội dung sau bài viết đầu tiên trên các trang, Ví dụ: Trang chủ, Label,
11. Chỉ hiển thị một nội dung khi có Backlink
12. Hiển thị nội dung cho tác giả bài viết (thay specific-name bằng tên tác giả cụ thể)
13. Hiển thị nội dung trên trang có số comments bằng một giá trị nào đó (thay number bằng một số)
14. Hiển thị nội dung trong tất cả các trang khi chức năng comment được kích hoạt
15. Hiển thị nội dung cho các trang lỗi 404
16. Hiển thị một nội dung nào đó trên tất cả các trang ngoại trừ Trang chủ (Homepage)
Nếu bạn muốn thực hiện một nội dung khác nếu điều kiện sai, bạn cần thêm thẻ vào ví dụ:
Chúc các bạn thành công!
Với các thẻ điều kiện if, bạn có thể đưa ra điều kiện để hiển thị một đoạn code, một nội dung nào đó tại trang mà bạn muốn trong blogspot. Nếu tại ABC sẽ hiển thị, hoặc nếu tại ABC sẽ không hiển thị.

1. Nội dung chỉ hiển thị cho trang chủ, trang label (Danh mục), trang lưu trữ archive
<b:if cond='data:blog.pageType == "index"'>
// Nội dung
</b:if>
2. Nội dung chỉ hiển thị cho trang bài viết (Post)
<b:if cond='data:blog.pageType == "item"'>
// Nội dung
</b:if>
3. Nội dung chỉ hiển thị trên các trang tĩnh (Static Pages)
<b:if cond='data:blog.pageType == "static_page"'>
// Nội dung
</b:if>
4. Nội dung chỉ hiển thị cho trang lưu trữ (Archive)
<b:if cond='data:blog.pageType == "archive"'>
// Nội dung
</b:if>
5. Nội dung chỉ hiển thị cho trang chủ (HomePage)
<b:if cond='data:blog.url == data:blog.homepageUrl'>
// Nội dung
</b:if>
6. Nội dung chỉ hiển thị cho một URL chỉ định (thay URL_HERE bằng 1 URL bạn cần hiển thị)
<b:if cond='data:blog.url == "URL_HERE"'>
// Nội dung
</b:if>
7. Nội dung hiển thị cho Trang (Page) và bài viết (Post)
<b:if cond='data:blog.url == data:post.url'>
// Nội dung
</b:if>
8. Hiển thị nội dung trên các trang Label (Nhãn)
<b:if cond='data:blog.searchLabel'>
// Nội dung
</b:if>
9. Hiển thị nội dung cho nhãn (label) được chỉ định (ví dụ: Blogspot)
<b:if cond='data:blog.searchLabel == "Blogspot"'>
// Chỉ hiển thị nội dung với nhãn 'Blogspot'
</b:if>
10. Chỉ hiển thị nội dung sau bài viết đầu tiên trên các trang, Ví dụ: Trang chủ, Label,
<b:if cond='data:post.isFirstPost'>
// Nội dung
</b:if>
11. Chỉ hiển thị một nội dung khi có Backlink
<b:if cond='data:post.showBacklinks'>
// Nội dung
</b:if>
12. Hiển thị nội dung cho tác giả bài viết (thay specific-name bằng tên tác giả cụ thể)
<b:if cond='data:displayname == "specific-name"'>
// Nội dung
</b:if>
13. Hiển thị nội dung trên trang có số comments bằng một giá trị nào đó (thay number bằng một số)
<b:if cond='data:post.numComments == number'>
// Nội dung
</b:if>
14. Hiển thị nội dung trong tất cả các trang khi chức năng comment được kích hoạt
<b:if cond='data:post.allowComments'>
// Nội dung
</b:if>
15. Hiển thị nội dung cho các trang lỗi 404
<b:if cond='data:blog.pageType == "error_page"'>
// Nội dung
</b:if>
16. Hiển thị một nội dung nào đó trên tất cả các trang ngoại trừ Trang chủ (Homepage)
<b:if cond='data:blog.url != data:blog.homepageUrl'>
// Nội dung
</b:if>
Nếu bạn muốn thực hiện một nội dung khác nếu điều kiện sai, bạn cần thêm thẻ vào ví dụ:
<b:if cond='data:blog.pageType == "item"'>
// Nội dung hiển thị ở "item"
<b:else/>
// Nội dung không hiển thị ở "item"
</b:if>
Chúc các bạn thành công!
Đăng ký:
Nhận xét (Atom)





