Assalamualaikum and Hello guys...Tadi ada orang request tutorial pasal post summary with thumbnail..
Thanks for the request,Tiara... |
Okay,let's get started...
- 1. Log in your blogger account.
- 2. Go to Dashboard > Design > Edit HTML.
- 3. Back up your template. ( Optional = In case you want to save your previous code )
- 4. Click ctrl + F and look for </head> code.
- 5. Add the Read More code below right before that line.
- 6. After that, find this line: <data:post.body/>
- 7. Delete the code and replace it with below code
<!-- Auto read more Start -->
<!-- http://www.BloggerSentral.com -->
<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
<b:else/>
<b:if cond='data:blog.pageType == "static_page"'>
<data:post.body/>
<b:else/>
<div expr:id='"summary" + data:post.id'><data:post.body/></div>
<script type='text/javascript'> createSummaryAndThumb("summary<data:post.id/>");
</script>
<a class='more' expr:href='data:post.url'>Read more ...</a>
</b:if>
</b:if>
<!-- Auto read more End -->
If you want to use image instead of the read more text :
Replace Read more ... with :
<img src='IMAGE URL' style='border:none;box-shadow:0px 0px #ffffff;margin-top:10px;margin-right:10px;'/>
The Notes :
Blue Text : Specify the number of characters (including spaces) you want to show in the summary, with thumbnail.
Red Text : Specify the number of characters (including spaces) you want to show in the summary, when there is no thumbnail.
Fuchsia Text : Specify the thumbnail height.
Green Text : Specify the thumbnail width.
Orange Text : You can change the words “Read more” with your own.
Credit : http://www.bloggersentral.com/
Okay, Done... Preview and save
Do comment...
thanks kak! jadi ^^
ReplyDeleteAlhamdulilah..welcome ^^,
Deletekak, gimana cara tambah angka2 diblog kakak itu?
ReplyDeleteyang buat pindah page itu
Blogskin macam mana? Saya guna blogskiin ni1
ReplyDeleteI'll try it. Btw, jom singgah blog saya :)
ReplyDeletehttp://zulfaonlinediary.blogspot.my/
kalau pakai blogskin??
ReplyDelete