cong-nghe

Cách xóa chữ đọc thêm cuối bài viết trên trang chủ cho blogspot





Các bước thực hiện các bạn làm như sau:
1- Vào thiết kế (Design)
2- Chỉnh sửa HTML (Edit HTML)
3- Mở rộng tiện ích mẫu 
Sau đó các bạn tìm đến đoạn Code có dạng tương tự như sau: 

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script>
<div class='readmore-wrap'>
<a class='readmore' expr:href='data:post.url'>read more &#187;</a>
</div>
</b:if>
</b:if>
Bạn thêm ký tự <!----> vào 2 đầu của phần chữ màu xanh bên trên, khi đó các bạn được như sau 
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script>
<div class='readmore-wrap'>
<!-- <a class='readmore' expr:href='data:post.url'>read more &#187;</a>  -->
</div>
</b:if>
</b:if> 
Tiếp theo các bạn tìm đến đoạn code sau

<b:if cond='data:post.hasJumpLink'>
      <div class='jump-link'>
       <a expr:href='data:post.url + &quot;#more&quot;'><data:post.jumpText/></a>  
      </div>
    </b:if>

làm tương tự như với code trên

<b:if cond='data:post.hasJumpLink'>
      <div class='jump-link'>
<!--   <a expr:href='data:post.url + &quot;#more&quot;'><data:post.jumpText/></a>  -->
      </div>
    </b:if>

Chúc các bạn thành công.
Tham Khảo Tại:  Namkna.blogspot.com

Người Đăng Bài: GiangDT

Hãy Like và Share nếu bạn thấy hữu ích!!

0 Comment:

Đăng nhận xét

Được tạo bởi Blogger.