Hướng dẫn giấu 1 bài viết không cho hiện trên trang chủ Blogspot

23:46 0 Comments

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">
Sau đó thay thế đoạn code đó bằng đoạn sau đây:
Code:
<div class="date-outer"
    <b:if cond='data:blog.pageType == &quot;index&quot;'>
    <b:if cond='data:blog.searchQuery == &quot;&quot;'>
    <b:if cond='data:blog.searchLabel == &quot;&quot;'>
            <b:if cond='data:post.url == &quot;LINK BÀI VIẾT BẠN MUỐN GIẤU&quot;'> style=&#39;display:none;&#39;</b:if>
            <b:if cond='data:post.url == &quot;GIẤU THÊM 1 LINK KHÁC&quot;'> style=&#39;display:none;&#39;</b:if>
          </b:if>
          </b:if>
          </b:if>
      &gt;
Bạn thay thế cái link bài viết bạn muốn giấu vào chữ LINK BÀI VIẾT BẠN MUỐN GIẤU nhé, muốn giấu thêm 1 bài nữa thì thay thế chữ GIẤU THÊM 1 LINK KHÁC thành link bạn muốn, tương tự muốn giấu thêm nhiều bài nữa thì cứ copy cái đoạn đó ra thêm thôi :D

blogger, blogspot, blogger tips, tutorial
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

0 nhận xét: