Trang blog mặc đinh khi mới tạo, mỗi
khi xem nhãn thì sẽ thấy xuất hiện dòng Hiển thị các bài đăng có nhãn...Hiển
thị tất cả bài đăng ( Showing posts with label ... Show all posts) dễ gây khó
chịu cho người xem, sao đây là cách khác phục:
Cách thực hiện theo các bước sau:
Đăng nhập vào Blogger -> Vào Mở rộng Mẫu Tiện ích
Ở bước này mình sẽ hướng dẫn theo 2 cách,tùy vào giao diện bạn sử dụng mà sửa.
Cách 1: Chèn đọan code sau vào phía trên dòng ]]></b:skin>
Đăng nhập vào Blogger -> Vào Mở rộng Mẫu Tiện ích
Ở bước này mình sẽ hướng dẫn theo 2 cách,tùy vào giao diện bạn sử dụng mà sửa.
Cách 1: Chèn đọan code sau vào phía trên dòng ]]></b:skin>
.status-msg-wrap{
display:none;
}
}
Cách 2: Bạn tìm đến đoạn code
bên dưới, nhấn CTL + F để tìm code <b:includable
id='status-message'> , sau đó ta thấy như sau:
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
<data:navMessage/>
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
<data:navMessage/>
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
Bạn thay toàn bộ đoạn code trên bằng
đoạn code dưới này:<b:includable
id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
Xong, chúc bạn thành công!