Recent posts widget say the latest postal service that a blogger has shared amongst the people yesteryear ranging them according to their publishing date. Today, inwards this tutorial nosotros are going to add together a blogger website recent postal service widget amongst titles in addition to no thumbnail. The recent postal service widget has numbers in addition to titles equally component of the major elements. Follow the below steps to add together the listing recent postal service recent postal service blogger widget.
Steps To Add List Recent Post Blogger Widget
1. Login to your blogger platform in addition to select your website.
2. click on the layout selection on the far left side.
3. Click on add together gadget on the sidebar panel.
4. Choose Edit HTML/Javascript in addition to glue the below code inwards the code box.
6. Save in addition to watch your website.
Steps To Add List Recent Post Blogger Widget
1. Login to your blogger platform in addition to select your website.
2. click on the layout selection on the far left side.
3. Click on add together gadget on the sidebar panel.
4. Choose Edit HTML/Javascript in addition to glue the below code inwards the code box.
<script type=”text/javascript”>5. Change the URL SEOCLIVE.COM to your ain blogger URL.
function recentpostslist(json) {
document.write(‘<ol>’);
for (var i = 0; i < json.feed.entry.length; i++)
{
for (var j = 0; j < json.feed.entry[i].link.length; j++) {
if (json.feed.entry[i].link[j].rel == ‘alternate’) {
break;
}
}
var entryUrl = “‘” + json.feed.entry[i].link[j].href + “‘”;//bs
var entryTitle = json.feed.entry[i].title.$t;
var exceptional = “<li>” + “<a href=”+ entryUrl + ‘” target=”_blank”>’ + entryTitle + “</a> </li>”;
document.write(item);
}
document.write(‘</ol>’);
}
</script>
<script src=”https://www.seoclive.com/feeds/posts/default?max-results=2&alt=json-in-script&callback=recentpostslist”></script>
6. Save in addition to watch your website.
0 komentar:
Please comment if there are any that need to be asked.