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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiITTXLZBG_7DnKm9_jXupUnxHzTyrmn12rhPl9QDOMX3Llr2fyB31sS7ub6_2LYnnsgVzGo4F6izFUGRRAn0Jx_JJ00_UHW3qY2IfgpPULtx5Pyj4tWHVd8cAYMxV6pth42-wJkzcwgR0/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.