|
|
I recently came across few comments in my blog that the previous post about related posts was not working in few blogger blogs. Moreover, the previous "Related Posts Widget" displays all the related posts based on category and displayed the labels of each one of them but, the one in this post will only display the specified number of posts and will not show any labels. Take a preview of the final output.This post basically features an alternative method to show the related posts in your blog. Follow these simple steps to add this widget to your blog.
1. Navigate to "Layout>>Edit HTML" from your dashboard. Make a back up of your template before you do any changes in the template.
2. Search using "CTRL+F" for the following line:
2. Search using "CTRL+F" for the following line:
</head>
3. Download this first text file. Open the text file and insert the following piece of code just before the above line.4. Now, expand your template, that is, make sure that you have a tick mark in that "Expand Widget Template". Now, do a search using "CTRL+F" for the following line:
<data:post.body/>
5. Download this second text file. Open the text file and insert the following piece of code just after the above line.6. Now, Save your template. Preview each of your posts separately. If you still have any problem in downloading the file or with the code, then please leave a comment.
UPDATE: Check the latest version here - Stylish Related Posts.
Enjoyed the article?
Click here to subscribe to FREE email updates from "Everything About Blogging", so that you do not miss out anything that can be valuable to you and your blog!
i like your blog...
REPLYevery posting were divided into its categories...
easier for me as a reader to pick what topic i wanted to read
keep it up
I tried to use that kind of widget in my other blog but it seems it did not work well.. So I might try this one, I hope it will work out..
REPLYHi,
REPLYVery informative for a beginner like me.
Thanks
its working...thanks
REPLYThe code works, however if I can give suggestion, you should limit the number to maybe 5 to 10 instead of giving 20. Some bloggers may not understand how to change.
REPLYThanks for the share :)
@∂αηιєℓ : Yes!! May be! I hope people will understand that. Else let them see your comment! LOL!!
REPLYHello man... How are you? Successful test? do you know the benefits of the pairs of related posts? it's take effect with our blog? If i modified this code... just little u know... can take negative to our blog effect? I love this related style... XD
REPLY@Delvit: Yeah! I am fine! How are you? Hmmm.. May be not. I don't think it will have any negative effects as such. I am not sure any way!! Let me know the info and I will have a look at what you say!!
REPLYHello!
REPLYI've followed your instructions but somehow it doesnt show up still =\
heres my blog
www.mywaistland.com
thanks!
@Phil: I rechecked the code and it works fine! Please do check if had skipped any step in between. If you still face any problem, please contact me via email and I will help you out!!
REPLYHello friend. Thanks for this trick. I implemented this on my blog. But the thing is in the number of other recommended post showing. In my blog you can see it is showing about 8. How can I limit it to 5 or according to my wish.
REPLYPls reply.
@Robin Hood Softwares: Just change the relatedTitlesNum to the number you require. Else try implementing the other form of related posts. Check out the other post in my blog.
REPLYThanks... good post, my blog looks good after adding this widget..
REPLY@Eternal Psycho: Thanks for the comment! Keep in touch to receive regular updates from blog!!!
REPLYit works awesome..., can i add this post in my blog too? any copyright?
REPLY@KuppamOnline: Thanks for the comment and I am happy that it works awesome for you blog. Please post it the way you understood rather than copying it exactly. Please provide the link to this post!! That will be better!!
REPLYHi Mukund, this one looks better than the other, but there's a bug thou, it shows the current post in the list along with with the other related posts, and the previous related posts gadget didn't do that, can you fix it? I know some coding but I don't wanna mess it up.
REPLYOh and your blog is very helpful!
@Timpa: Thanks for the comment and pointing out the bug in the gadget. I will any way release another related posts gadget in a few weeks time. You may take a look at the screen shot of the gadget below. Hope you like it!!!
REPLYNew Related Posts Gadget
Thanks for the reply, I'll wait then.
REPLYBy the way, is there a way to make related posts links appear as "real" links for search engines?(I mean, links that can be followed) Because if you look at the code of any published page containing the related posts gadget, it doesn't show the links of those posts (as others gadgets do, my popular posts gadget does show the links in the code). I suppose it'll be better for internal link structure if search engines could see those links and follow them to added relevance I think. What do you think? Can related posts links be made crawlable?
@Timpa: Thanks for the comment!! Your questions do give me a lot of ideas to post. As you said, most of the related post links are not crawled by the search engines. This is because every time when you open the webpage, the same links will not be published. Only a random post will be generated based on the post-label. So, it is not possible to do that. How ever, you can install breadcrumbs on your blog which will improve the SEO by making internal links. So, why not try that??? Do check out the following post for a preview of the related posts that will be posted after few weeks.
REPLYUltimate Blogging Theme For Blogger
Thanks again Mukund, I installed breadcrumbs, thanks for the idea, and I checked the new template and left a comment also there.
REPLYBy the way, (leaving out the post subject) since I'm giving you ideas for posts :), here's another one: I'd like to know how to make sidebar boxes for widgets, like you have in your blog(in a lighter grey and with borders), since the default blogger sidebar is "blah"(sorry, coudn't find a better word to describe its horribleness)and I don't now how to customize it. Any ideas you can give me?
@Timpa: Thanks for the comment again Timpa!! It is pretty easy to customize the sidebars. It requires a little change with CSS part of your template. Send me your template via email (smalwayz[at]gmail.com) and I will install the box style sidebars for your blog.
REPLYMan, this doesn't work?
REPLYWoh its great share its realy looking gud on site visit www.erazwindows.com
REPLY@Surajkv: No!! It works!! If you need a related post like the one seen on my blog, then contact me via email and I will get you the instructions for them!!!
REPLY@Anonymous: Thanks for the comment! Yeah! I had a look at the site and your right, it blends well with your template! I hope you enjoy the other updates from my blog as well!!
REPLY@Surajkv: No!! It works!! If you need a related post like the one seen on my blog, then contact me via email and I will get you the instructions for them!!!
REPLYHello friend. Thanks for this trick. I implemented this on my blog. But the thing is in the number of other recommended post showing. In my blog you can see it is showing about 8. How can I limit it to 5 or according to my wish.
REPLYPls reply.
Hello!
REPLYI've followed your instructions but somehow it doesnt show up still =\
heres my blog
www.mywaistland.com
thanks!
Hello man... How are you? Successful test? do you know the benefits of the pairs of related posts? it's take effect with our blog? If i modified this code... just little u know... can take negative to our blog effect? I love this related style... XD
REPLYThe code works, however if I can give suggestion, you should limit the number to maybe 5 to 10 instead of giving 20. Some bloggers may not understand how to change.
REPLYThanks for the share :)
Hi,
REPLYVery informative for a beginner like me.
Thanks
I tried to use that kind of widget in my other blog but it seems it did not work well.. So I might try this one, I hope it will work out..
REPLYI just love ur style....related posts widget is awesome...i searched too many blogs, but none find useful...this is great.......u can see at my blog...it looks so nice.....thanx a lot....keep doing such n nice stuff.....we will be with u.
REPLY@suchelte: Thanks for the comment!Yes! I checked your blog on Hindi, the widget looks very soothing on your blog. Hope you enjoy other articles on my blog as well!!
REPLYThanks, Finally i found the one that works for my blog abs-cbn live! To change the number of related post find ;max-results=8" - then change 8 to your desired results.
REPLY@Pinoytoolbar: Thanks for the comment! I'm happy that it worked for you and you have optimized it as you want!!!
REPLYGreat Widget...Thanks for sharing.
REPLY@Zahid Rouf: Thanks for the comment Zahid!! Hope you enjoy the other widgets on my blog as well!!!
REPLYFinally! I have found the code that works with my blog! I have tried several code even the one in your post here
REPLYhttp://www.newbloggingtipz.com/2009/04/add-related-posts-below-every-blogger.html
but this one really works well with my blog.. You're a genius! More Power!
@Jeanne: Thanks for the comment buddy! I hope you enjoy the other widgets on my blog as well! I'm glad that this widget works perfectly on your blog!
REPLYi follow your step but it does not work in my blogger blog :(
REPLYolz help
@Nishat Shahriyar: Just tell me what problem you face! I will try to solve your issue! It would be better if you could send an email, probably with a screen shot, so that we can fix it faster!
REPLYi have a problem here. In the related posts it shows the original post again . Can u try to fixx that
REPLY@pvnI guess you are saying the original post title gets repeated on the related posts widget! If I'm right in understanding your problem, well even I face the same issue. I tried to work out the coding but, still it appears! I will soon fix this bug and let you know! Thanks for the comment buddy!
REPLYThank you...
REPLYyour article helps me alots in adding a related post widgets..
@Bimal: Yup! Thanks for the comment! Hope you enjoy the other articles as well!
REPLYHi :
REPLYThanks for the tips.
But i don't want the post that i'm reading listing in the related post, i should i modify the code then?
Thanks
@Peter: Well, I have always tried to work it out but I fail when I do so! Probably, the only solution would be to add a link-within gadget! Anyway, thanks for the comment! I hope I find a fix for the issue you posted:)
REPLYNice related widget. It look better than the other related posts widget that are available on the other site. I already add this to my Computer tips and tricks blog. Thanks for sharing this :)
REPLYnot able to find
REPLYThank you very much. I did it in 2 min. thanks
REPLYthanks for u r tutorial will use this for my website i.e. http://www.theindependentindia.com
REPLYUse the tab below to comment. No spam please!!!
POST YOUR COMMENT