How to Create a Recent Posts Section on Blogger
Ruangngoprek.web.id - How to Create Recent Posts or Latest Articles on Blogger, Hello Ruang Ngoprek Friends, on this occasion we will discuss how to create recent posts or latest articles for blogger.
Recent Post Function
Recent posts or the latest articles are often posted by website owners to provide references to the latest articles owned by the website itself.
How to Install Recent Posts on Blogger
1. First of all, please log in to your blogger.com account.
2. Then go to Layout , then here in the sidebar, click Add Gadget .
3. In the Recent Post Title section, copy the code below.
<div class='artikel-terbaru'>
<script>
function artikelterbaru(e){document.write("<ul>");for(var t=0;t<e.feed.entry.length;t++){for(var r=0;r<e.feed.entry[t].link.length&&"alternate"!=e.feed.entry[t].link[r].rel;r++);var n="<li><a href="+("'"+e.feed.entry[t].link[r].href+"'")+'">'+e.feed.entry[t].title.$t+"</a> </li>";document.write(n)}document.write("</ul>")}
</script>
<script src="/feeds/posts/summary/?max-results=6&alt=json-in-script&callback=artikelterbaru"></script>
</div>
4. Then save.Description: 6 Can be changed to the number of articles to be displayed.
5. The result
That's all for this article on How to Create Recent Posts or Newest Articles on Blogger, hopefully it's useful.


Post a Comment for "How to Create a Recent Posts Section on Blogger"