How Show Related Posts Below Each Blog Post?
The related posts Widget, as the title says, this Widget will generate the list of related posts. this Widget can be added either on the homepage (under each posts) or inside the post. By placing this related posts Widget, there is a chance the spread the other posts to visitors and they may have a tendency to take that post from the list, it will reduce the bounce rate of your blog and will keep your visitors from suddenly quit from your blog. Let's see how to add related posts widget to Blogger
Add Related Posts Manually To Blogger
Sign In to Blogger DashboardGo to Template -> Edit HTML
Find </head>
Copy the below code above </head>
Customization
Remove
1)<b:if cond='data:blog.pageType == "item"'> /* remove this */
2)</b:if> /* remove this */
- portion to add this Widget to Homepage
Place the URL of the image in quotes to display if there is no image in the post.
1) vardefaultnoimage="https://1.bp.blogspot.com/_u4gySN2ZgqE/SosvnavWq0I/AAAAAAAAArk/yL95WlyTqr0/s400/noimage.png";
Change the value var maxresults=5; to change the number of posts to be displayed
Change the color of the splitter line between posts. change var splittercolor="#DDDDDD";
Change the Name of the title, change- var relatedpoststitle="Related Posts";
Add To Post Footer
Find <div class='post-footer'> and copy the below code above it
Remove <b:if cond='data:blog.pageType == "item"'> and </b:if>
to add related posts to the homepage too.
Change max-results=6 to change the number of posts that should be displayed
We hope this article will help you. If so you may like and share this post with your friends.
No comments:
Post a Comment
WAZIPOINT:
Thank you very much to visit and valuable comments on this blog post. Keep in touch for next and new article. Share your friends and well-wisher, share your idea to worldwide.