Thursday, April 16, 2009

Xóa số điếm sau mỗi Nhãn (Label)

Remove the Number of Label
[FD's BlOg] - Các nhãn trong blogspot thường có những con số theo sau nó, con số đó thể hiện số bài có cùng chung nhãn đó. Đối với ai không thích hiển thị những con số này, có thể tham khảo bài viết này.

Hình ảnh minh họa:


Sau đây là cách thực hiện:
1. Đăng nhập blog
2. Vào Chỉnh sửa Code HTML
3. Save template lại trước khi thực hiện.
4. Nhấp vào Mở rộng tiện ích


5. Tìm đọan code sau:

<b:widget id='Label1' locked='false' title='Nhãn' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>

<ul>
<b:loop values='data:labels' var='label'>
<li>
<b:if cond='data:blog.url == data:label.url'>
<span expr:dir='data:blog.languageDirection'><data:label.name/></span>
<b:else/>
<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
</b:if>
<span dir='ltr'>(<data:label.count/>)</span>
</li>
</b:loop>
</ul>

<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>

6. Xóa đọan code màu đỏ đi là xong (quan trọng là xóa đọan (<data:label.count/>) ).
7. Save template lại.

Chúc các bạn thành công.
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 nhận xét

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

 
© Sổ ghi chú
Designed by BlogThietKe Cooperated with Duy Pham
Released under Creative Commons 3.0 CC BY-NC 3.0
Posts RSSComments RSS
Back to top