22 July, 2012

Buat Senarai Recent Post atas Tajuk Posting

Mesti pening-pening nak buat recent post list kan?

sebenar nya cara nye sangat la mudah.

Langkah 1

Salin kod dibawah ini
<div id="hlrpsb">
<script style="text/javascript" src="http://helplogger.googlecode.com/svn/trunk/recent-posts-with-titles-only.js"></script><script style="text/javascript">var numposts = 10;var showpostdate = false;var showpostsummary = false;var numchars = 100;var standardstyling = true;</script><script src="ID-BLOG-ANDA/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentposts"></script></div>
<div style="font-family: arial, sans-serif; font-size: 9px;" id="rpdr"><a href="http://amaturdesign.blogspot.com/2012/07/buat-senarai-recent-post-atas-tajuk.html" title="Grab this Recent Posts Widget" target="_blank">Entri Menarik Widget</a></div><noscript>Oops! Make sure JavaScript is enabled in your browser.</noscript><style type=text/css>#rpdr {background: url( http://3.bp.blogspot.com/-CGrzkdU1tzU/UAu7QSXQzkI/AAAAAAAAAhQ/LE7jkc8_MnU/s1600/cute+panda.jpg ) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
#rpdr, #rpdr a {color:#808080;}
#hlrpsb { }
.bbrecpost2 {
padding-top:6px;
padding-bottom:6px;
</style>


Langkah 2

WARNA MERAH  tukar kepada ID blog anda
Nombor 10 ni adalah jumlah post yang akan tersenarai. Ubah ikut citarasa
WARNA HIJAU kalau nak post siap ada tarikh tukar kepada true

Langkah 3

Layout > Add Gadget > HTML

Langkah 4

Preview dan Save.

Sangat mudah dah berkesan. Enjoy!



No comments:

Post a Comment

What do you think about this?