
Các bạn chỉ cần làm theo các bước sau đây :
Bước 1: Đăng nhập vào Blogger : Dashboard >> Design >> Edit HTML;
Bước 2: Click chọn “Expand widgets template“.
Bước 3: Tìm đoạn code
Bước 1: Đăng nhập vào Blogger : Dashboard >> Design >> Edit HTML;
Bước 2: Click chọn “Expand widgets template“.
Bước 3: Tìm đoạn code
1
| </head> |
Sau đó copy và paste đoạn code sau ngay trên thẻ </head>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
| <!--Related Posts with thumbnails Scripts and Styles Start--><!-- remove --><b:if cond='data:blog.pageType == "item"'><style type="text/css">#related-posts {float:center;text-transform:none;height:100%;min-height:100%;padding-top:5px;padding-left:5px;} #related-posts h2{font-size: 1.6em;font-weight: bold;color: black;font-family: Georgia, “Times New Roman”, Times, serif;margin-bottom: 0.75em;margin-top: 0em;padding-top: 0em;}#related-posts a{color:black;}#related-posts a:hover{color:black;} #related-posts a:hover {background-color:#d4eaf2;}</style><script type='text/javascript'>var maxresults=5;var splittercolor="#d4eaf2";var relatedpoststitle="Related Posts";</script><script src='http://helplogger.googlecode.com/svn/trunk/related-posts-with-thumbnails-for-blogger.js' type='text/javascript'/><!-- remove --></b:if><!--Related Posts with thumbnails Scripts and Styles End-->
Đoạn code trên sẽ hiển thị mặc định là 5 tin liên quan, nếu bạn muốn hiển thị nhiều hay ít hơn thì có thể điều chỉnh ở dòngvar maxresults=5;
Bước 5: Bây giờ các bạn nhấn Ctrl + F và tìm đoạn code sau:
Nếu các bạn không tìm thấy thì tìm đoạn này:
Hoặc:
Bước 6: Copy và paste đoạn code bên dưới ngay dưới những đoạn code mà chúng ta tìm thấy ở bước 5
|


Không có nhận xét nào:
Đăng nhận xét