Read more v1

.

Bagaimana caranya jika posting kamu terlalu panjang dan ingin ianya dipendekan, contoh menggunakan penggunaan seperti"read more", "baca selanjutnya" dll.Tutorial ini telah penulis bahaskan disini

Untuk tutorial kali ini penulis namakan aje sebagi Read more v1.Diharap ianya dapat membantu saudara Naqib Mohammad dlm mendesign blog beliau.Ok lets go to tutorial
1.Login ke blog anda.Pergi ke menu Layout--->Edit Html , dan jangan lupa tandakan pada 'expand widget template'.

2.Kemudian cari kod ini <div class='post-body entry-content'>..dah jumpa..kalau dah jumpa maka dibawahnya ada kod ini <p><data:post.body/></p>

3.Dah ketemu...jika sudah gantikan kod tadi ( <p><data:post.body/></p>) dengan kod 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>
*p.s. Tulisan read more boleh diubah mengikut keinginan kamu.Kemudian klik save.

4. Kemudian pergi ke menu Setting lalu pilih Formatting

5.Pada kotak post template isikan kod dibawah ini,kemudian save setting anda.
<span class="fullpost">


</span>


Kemudian pergi ke dapur atau buka peti sejuk untuk cari minuman atau makanan he..hee..Kita rehat sebentar( lima minit ) lakukan senaman ringan..agar tidak terlalu stress...
Ok..bersambung semula.Setelah itu pergi ke posting anda.Pilih menu Edit Html bukannya Compose.Akan kelihatan kod ini
<span class="fullpost">dan juga </span>jangan delete kod tersebut (kod ini penting)
6.Tulis segala artikel yg hendak ditampilkan pada halaman utama di atas kod <span class="fullpost">, dan yang tak mahu kelihatan diantara <span class="fullpost">dan </span>

Contohny seperti begini..
Many people on the web today are making a great deal of money by writing blogs. There are a few ways to make money via a blog. Google AdSense can be placed on blogs which will show ads based on the content of your blog. You can also place banner ads on a blog which also brings money in. One of the most popular ways of making money through a blog is through hyperlinks. You will all of these methods put into place whenever you read a blog.<span class="fullpost">(Pada bahagian ini post akan dipenggal)
The first thing to do is to start a blog. If you are not a good writer or have no idea what to blog about, just choose a topic you have an interest in. For example, if you have a favorite television show that you watch, you can blog about it. If you have a favorite food or restaurant, you can start a blog about where to find such food. The key is to choose a topic which you know a lot about and can give a great deal of information about.</span>

Maka hasil posting akan jadi seperti ini..
Many people on the web today are making a great deal of money by writing blogs. There are a few ways to make money via a blog. Google AdSense can be placed on blogs which will show ads based on the content of your blog. You can also place banner ads on a blog which also brings money in. One of the most popular ways of making money through a blog is through hyperlinks. You will all of these methods put into place whenever you read a blog.Read more..

Mungkin artikel dibawah yang sedang anda cari



0 comments:

:)) ;)) ;;) :D ;) :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Catat Ulasan

Komenlah sesuka hati anda kerana tuan empunya blog ini buta hati dan buta perasaan tetapi tidak buta mata.

 

Pelawat

free counters
BlogInfoTips

Pengikut

Recent Comments

Powered by Deenoh

© Copyright 2007-2009. Blog tutorial . All rightsreserved | Bloginfotips.com is proudly powered by Blogger.com | Template redesign by Deenoh