There some advantages of adding the related post widget in your blog ; the reader will be able to find more articles that related to the article they are reading and Reader can stay longer in your blog .
1.Log in to your dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3.Scroll down to where you see this:
4.After the above code , copy and paste the code below:
<b:if cond='data:blog.pageType == "item"'> <div class='similiar'> <div class='widget-content'> var homeUrl3 = "<data:blog.homepageUrl/>"; maxNumberOfPostsPerLabel = 100; function listEntries10(json) { for (var k = 0; k < entry.link.length; k++) { if(a.href!=location.href) { var script = document.createElement('script'); var labelArray = new Array(); <b:loop values='data:posts' var='post'> var test = 0; </div> |
5.Click on "Save Templates" and refresh your site.
File Under : background, gadget, post, widget
thanks.. its really help me..
I don't find in my blog's HTML