Cara Membuat Widget Recent Post di Blog

Cara Membuat Recent Post di Blogger

BangSiagian.id - Jika kita membahas mengenai blog pastinya diblog ada fitur recent post. Recent posts ini adalah fitur yang menampilkan artikel postingan paling terbaru di sebuah blog. Widget recent posts ini untuk mempermudah pengunjung blog untuk mengetahui artikel terbaru yang di blog yang mereka kunjungi.

Apakah widget recent post wajib kita pasang di blog?
Widget recent post ini tidak wajib dipasang diblog, tapi saya sarankan pasanglah widget recent post diblog. Semua pemilik blog memasang widget ini diblog mereka.

Di kesempatan ini saya akan membagikan arikel tutorial cara membuat widget recent post di blog. Recent post yang bagikan ini simpel, ringan dan responsive, recent post ini hanya menampilkan teks saja tanpa ada gambar.

Kalau kamu ingin untuk memasang recent post diblog, silahkan kamu ikuti caranya memasangnya dibawah ini.


Cara Membuat Widget Recent Post di Blog


1. Login ke akun blogger
2. Pilih blog yang ingin dipasang recent post
3. Klik menu tata letak disebelah kiri
4. Klik Tambahkan Gadget
5. Klik HTML/JavaScript lalu masukkan kode recent post dibawah ini

<style scoped='' type="text/css">
ul#recent-posts{list-style:none;margin:0;padding:0}li.recent-posts{display:block;clear:both;overflow:hidden;list-style:none;border-bottom:1px solid #e3e3e3;word-break:break-word;padding:10px 0;margin:0;font-size:15px}
li.recent-posts:last-child{border-bottom:0;}
li.recent-posts a{color:#2574a9;}li.recent-posts a:hover{color:#2574a9;text-decoration:none}
</style>
<ul id="recent-posts"></ul>
<script>
//<![CDATA[
var homePage = "//www.bangsiagian.id",
numPosts = 15;
function recentPosts(a){if(document.getElementById("recent-posts")){var e=a.feed.entry,title,link,content="",ct=document.getElementById("recent-posts");for(var i=0;i<numPosts;i++){for(var j=0;j<numPosts;j++){if(e[i].link[j].rel=="alternate"){link=e[i].link[j].href;break}}var title=e[i].title.$t;content+='<li class="recent-posts"><a href="'+link+'" title="'+title+'">'+title+'</a></li>'}ct.innerHTML=content}}var rcp=document.createElement('script');rcp.src=homePage+'/feeds/posts/summary?alt=json-in-script&orderby=published&max-results='+numPosts+'&callback=recentPosts';document.getElementsByTagName('head')[0].appendChild(rcp);
//]]>
</script>

Keterangan:
Perhatikan kode recent poss diatas yang saya kasih tanda merah.

6. Klik simpan
7. Lihat hasilnya

Tidak susahkan membuat widget recent post di blog nya?.

Demikianlah artikel tutorial cara membuat widget recent diblog. Semoga artikel ini berguna dan bermanfaat untuk pengunjung blog saya.

Selamat mencoba dan semoga berhasil.

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

fitness showrooms stamford ct ea fitness fitness barre cranberry fitness center software fitness gym software apogee fitness fit online classes rpac group fitness classes fitness management software seo explanation digital marketing degree florida online courses on digital marketing digital marketing certificate programs online digital marketing course review internet marketing classes online courses on online marketing online marketing education email marketing wikipedia digital marketing degree course digital marketing classes online seo marketing company search engine optimization articles seo companys types of seo services seo technology search optimization companies seo specialists search engine optimization marketing services bitcoin merchant account bitcoin merchant services bitcoin mining cloud computing buy bitcoin australia buy stocks with bitcoin software mining bitcoin bitcoin mining gpu buy stock with bitcoin bitcoin stock chart how to invest in bitcoin stock Online Stock Trading Forex Trading Platform Real Trading Account Registration. Digital Transformation & Business Intelligence Software for Enterprises. Microsoft Professional Program in Entry-Level Software Development. Sofware recovery data wondershare data recovery. Recovery Database Network. Recovery Skills and Tools of Recovery, Coping Skills. Recover your Apple ID when you can't reset your password. Account Recovery, Prudential Financial. Transfer Procedure, Housing & Development Board. Transfer Airport Discount, Meilleures prix pour vous. Transfer to Northern Virginia Community College. Domain Transfer Service. Mobile Transfer App, Transfer Phone Contacts & More. Find information for transfer applicants to UC San Diego. Compare Energy Prices, Cheapest Gas and Electricity. Gas & electricity energy suppliers for home or business. American University Mesothelioma Law Firm Donate Car to Charity California Donate Car for Tax Credit Donate Old Cars to Charity Low Credit Line Credit Cards Dallas Mesothelioma Attorneys Car Insurance Quotes Donate your Car for Money Cheap Auto Insurance Met Auto Forensics Online Course Home Phone Internet Bundle Donating Used Cars to Charity PHD on Counseling Education Neuson Royalty Free Images Stock Car Insurance in South Dakota Email Bulk Service Webex Costs Cheap Car Insurance for Ladies Cheap Car Insurance in Virginia Register Free Domains Better Conference Calls Futuristic Architecture Mortgage Adviser Car Donate Virtual Data Rooms Online College Course Automobile Accident Attorney Auto Accident Attorney Car Accident Lawyers Data Recovery Raid the cheapest car insurance cost of car insurance best car insurance quotes insurance auto insurance quotes car quote for car insurance get insurance quote online disability insurance quote new car insurance private medical insurance home insurance car insurance brokers car insurance rates commercial insurance property insurance life insurance agent group insurance aetna health insurance cheap medical insurance liability insurance cheapest credit card company credit card universal life insurance mastercard debit card best credit cards to apply for apply for credit card online credit card apply how to apply for a credit card apply for new credit card best credit card comparison apply for visa card online cim credit card credit card transfer credit card interest credit card online best rate credit cards debit card Insurance Loans Mortgage Attorney Credit Lawyer Donate Degree Hosting Claim

Iklan Bawah Artikel