Hướng dẫn giấu 1 bài viết không cho hiện trên trang chủ Blogspot
Vào đề luôn! Bạn vào phần chỉnh sửa template search đoạn code sau đây:
Code:
<div class="date-outer">
Code:
<div class="date-outer"
<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.searchQuery == ""'>
<b:if cond='data:blog.searchLabel == ""'>
<b:if cond='data:post.url == "LINK BÀI VIẾT BẠN MUỐN GIẤU"'> style='display:none;'</b:if>
<b:if cond='data:post.url == "GIẤU THÊM 1 LINK KHÁC"'> style='display:none;'</b:if>
</b:if>
</b:if>
</b:if>
>
Hình ảnh minh họa khi thay thế code trong template nè
Chúc thành công ^^
Read more: http://forum.vietdesigner.net/threads/huong-dan-giau-1-bai-viet-khong-cho-hien-tren-trang-chu-blogspot.43421/#ixzz3PwlSc4xR
.png)







0 nhận xét: