Thursday, July 23, 2009

Ganti tulisan "Read More" dengan gambar

Pasti kalian semua sudah tahu bagaimana caranya membuat “Read More”, atau “Baca Selengkapnya”. Di postingan kali ini saya akan mencoba untuk membahas bagaimana caranya mengganti tulisan “Read More” tersebut dengan gambar, yang tentunya gambar bertuliskan “Read More”, seperti pada blog ini. Jadi, agar terlihat lebih bagus, daripada hanya tulisan biasa saja. Tapi, jangan lupa untuk mengupload gambar kamu ke image hosting Langsung saja, ini tutorial nya :

1.Saya anggap, blog kamu sudah terdapat fungsi read more.
2.Buka menu “Layout”, kemudian pilih “Edit HTML”
3.Cek (centang) pada cekbox "expand widget template"
4.cari kode seperti dibawah ini :

<b:if cond='data:blog.pageType == "item"'>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>

<p><data:post.body/></p>

<a expr:href='data:post.url'>Read More......</a>
</b:if>


5.Ganti tulisan yang berwarna merah dengan alamat gambar kamu, contohnya seperti ini

<b:if cond='data:blog.pageType == "item"'>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>

<p><data:post.body/></p>

<a expr:href='data:post.url'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGvTH87h3U0ZoUf1wbIM3cdH-QYLroljuuJwznMY-lRj9I8mWwwUagZLew7s9fxalO72kiT3lHV751hnif3hDZpuJuVUzqKqGW8HD1pVZ1ESW33hibtbw9oKPqS3YIUdjyEXNGb-WbS7Q-/s1600/readmore.png'/>
</a>
</b:if>


6.Save template

Selesai, dan lihat hasilnya. Sebenarnya, ada kelemahan mengganti tulisan “Read More” dengan gambar, yaitu loading template akan sedikit berbeda, karena harus “membaca” file gambar terlebih dahulu, berbeda pada saat menggunakan tulisan read more biasa.

6 komentar:

dhanang said...

thanks tipsnya..

salvation said...

salam kenal
thank u tips-nya y...

Blog sederhana said...

sudah di coba...eh ternyata berhasilll..
thanks..!

wongsimpang said...

thanks y mas.

FREE Software Downloads said...

Udh sy coba berhasil mas, mksh y...:)
Salam kenal:
Amien melody

Hamzu said...

Vray 3.20.02 For 3Ds Max 2017
IObit Malware Fighter Pro
Genymotion 3.1.1 Crack
MassTube Plus Crack
Remo Recover Crack
Disk Drill Pro Crack
EaseUS Partition Master
SyncBreeze Enterprise Crack
Mirillis Action Crack
Camtasia Studio Crack
AVS Video Editor Crack
Avira Antivirus Pro Crack
System Mechanic Pro Crack
Bandicam Crack
Sublime Text Crack
Malwarebytes Anti-Malware
Avast Internet Security Crack
DriverMax Pro Crack
I enjoyed your blog Thanks for sharing such an informative post. We are also providing the best services click on below links to visit our website.

Post a Comment

Silahkan beri komentar disini, tapi jangan menyebarkan spam ya...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Macys Printable Coupons