home Twitter RSS feeds

Tutorial: Adding related posts widget to Classic Blogger

Blogged by: Kitty on Monday, November 14, 2011  
Commentators: Anonymous Anonymous, Blogger amiera izza, Blogger Kitty, Anonymous Sukualam, Blogger Susan Goh, Blogger M,
Facebook comments: comments

In this tutorial, I will be sharing with you how to add related post widget to Classic Blogger template. As usual, please backup your files before attempting this tutorial just in case if you screw up your blog in the middle of editing it.


Step 1
Copy the following Javascript codes and paste them before the closing tag </head>:

<script type="text/javascript" src="http://otakkacau.co.cc/blogger/jquery.min.js"></script>
<script type="text/javascript" src="http://otakkacau.co.cc/blogger/jquery.related-posts-widget-2.0.min.js"></script>


Step 2
Next, copy the following codes and paste them where you want them to appear. I suggest you paste them anywhere within the <ItemPage> </ItemPage> tags. I don't recommend you putting them on the index page especially if you have 2 or more posts displayed on the index page because this can cause the script to be executed more than once.

<div class="related-posts-widget" data-options="{
blog_url:'http://your-blog-url-here'
,max_posts:10
,max_tags:5
,posts_per_tag:10
,post_score_class:1500
,thumbs:0
,post_page_only:1
}">Related Posts ...</div>


Be sure to change the parts that are in bold:
blog_url:'http://your-blog-url-here' //change it to your own blog URL
,max_posts:10 //how many posts you want to display
,max_tags:5 //how many tags you want to display
,posts_per_tag:10 //how many posts per tag you want to display


Save your file and you're done.


Script courtesy of Otakkacau.co.cc.

Labels: ,


Comments to Tutorial: Adding related posts widget to Classic Blogger:


Thank you.. <3

hye there , i was in a kinda blogger whatever temp its called has pages , but when i changed it to classic , it was gone , can classic add pages well too ?? if can where should i find dat link becoz i see none , about the related posts , i've tried paste as your instruction but still how does it previews my older posts ? i dun understand to link it from where ,

thank you very much ,
amiera , malaysia

@amiera izza, Classic Blogger has no option to create pages so you won't be able to add pages to your blog while using Classic Blogger template.

About the codes for the related posts widget, just paste the codes is Step 1 before the </head> tag. And then paste the codes in Step 2 anywhere in your template codes as long as it is between the <ItemPage> </ItemPage> tags, then change the texts in bold to whatever you want.

I Like Blogger Classic and your tips is helped me. thanks

it didn't appear! :(

i always wanted this code but it's just doesn't work!

Hi! I tried this but it didn't work :(
I can't find the tags

Post a Comment

Commenting policy:
1. Please leave comments that are relevant to the blog post.
2. Comments on posts that are more than 14 days old will be moderated.
3. Do not post advertisements to your own site/products here.
4. Do not post private information, it will be deleted.
5. Refrain from using abusive/vulgar words, if you have personal issues with me, contact me directly through the contact form or my email instead.

Facebook comments to Tutorial: Adding related posts widget to Classic Blogger:


Tutorial: Adding related posts widget to Classic Blogger

Blogged by: Kitty on Monday, November 14, 2011  
Commentators: Anonymous Anonymous, Blogger amiera izza, Blogger Kitty, Anonymous Sukualam, Blogger Susan Goh, Blogger M,
Facebook comments: comments

In this tutorial, I will be sharing with you how to add related post widget to Classic Blogger template. As usual, please backup your files before attempting this tutorial just in case if you screw up your blog in the middle of editing it.


Step 1
Copy the following Javascript codes and paste them before the closing tag </head>:

<script type="text/javascript" src="http://otakkacau.co.cc/blogger/jquery.min.js"></script>
<script type="text/javascript" src="http://otakkacau.co.cc/blogger/jquery.related-posts-widget-2.0.min.js"></script>


Step 2
Next, copy the following codes and paste them where you want them to appear. I suggest you paste them anywhere within the <ItemPage> </ItemPage> tags. I don't recommend you putting them on the index page especially if you have 2 or more posts displayed on the index page because this can cause the script to be executed more than once.

<div class="related-posts-widget" data-options="{
blog_url:'http://your-blog-url-here'
,max_posts:10
,max_tags:5
,posts_per_tag:10
,post_score_class:1500
,thumbs:0
,post_page_only:1
}">Related Posts ...</div>


Be sure to change the parts that are in bold:
blog_url:'http://your-blog-url-here' //change it to your own blog URL
,max_posts:10 //how many posts you want to display
,max_tags:5 //how many tags you want to display
,posts_per_tag:10 //how many posts per tag you want to display


Save your file and you're done.


Script courtesy of Otakkacau.co.cc.

Labels: ,



Comments to Tutorial: Adding related posts widget to Classic Blogger:


Thank you.. <3

hye there , i was in a kinda blogger whatever temp its called has pages , but when i changed it to classic , it was gone , can classic add pages well too ?? if can where should i find dat link becoz i see none , about the related posts , i've tried paste as your instruction but still how does it previews my older posts ? i dun understand to link it from where ,

thank you very much ,
amiera , malaysia

@amiera izza, Classic Blogger has no option to create pages so you won't be able to add pages to your blog while using Classic Blogger template.

About the codes for the related posts widget, just paste the codes is Step 1 before the </head> tag. And then paste the codes in Step 2 anywhere in your template codes as long as it is between the <ItemPage> </ItemPage> tags, then change the texts in bold to whatever you want.

I Like Blogger Classic and your tips is helped me. thanks

it didn't appear! :(

i always wanted this code but it's just doesn't work!

Hi! I tried this but it didn't work :(
I can't find the tags

Post a Comment

Commenting policy:
1. Please leave comments that are relevant to the blog post.
2. Comments on posts that are more than 14 days old will be moderated.
3. Do not post advertisements to your own site/products here.
4. Do not post private information, it will be deleted.
5. Refrain from using abusive/vulgar words, if you have personal issues with me, contact me directly through the contact form or my email instead.

Facebook comments to Tutorial: Adding related posts widget to Classic Blogger:


Hire me to design your blog!

I offer designing and re-designing of Classic Blogger templates. Examples of my design can be found on my portfolio website.

The basic rate for a design starts from $25 USD. The rate is based on the complexity of the design. The more elaborate the design is, the higher the price is.

How to place your order

Send me an email via the contact form and state clearly how you want your design to be. This includes colour scheme, layout (with or without sidebar, number of columns, etc), any extra features, etc.

Your email should be in this format:
Name:
Design: Please give detailed explanation on how you want your template to look like
Preferred payment method: Paypal/Moneybookers/Payza/Bank transfer to Baiduri bank

I shall respond to your email within 3 (three) days. Your order will be placed into a Waiting Queue as orders are processed on a first come, first serve basis.

Payment methods

Payment has to be made to either by PayPal, or Moneybookers.

However, if you choose to pay via (international) bank transfer, be aware that you may be charged for the transfer service.

Other important information

Throughout the designing process, I may need to refer back to you for questions/opinions so do check your email frequently. This is to ensure the design can be done as soon as possible.

Depending on the design, your template make take up to over 1 (one) week to finish. You will be informed once the template is done.

I will send you an email requesting for the payment after the template is done. Once the payment is received, I will email you the complete template along with the necessary files.

All of my designs/templates will come with a credit section. This section must be left intact and you may not remove nor alter them. Resources that come with the designs/templates may not be redistributed or reproduced.

The designer

Kitty

Kitty. 29. Blogger, web design hobbyist, compulsive shopper and bibliophile based in Brunei. Enjoys creating and designing websites, dabbling with HTML, CSS and PHP.

I've been blogging since 2005 (or earlier) though my experience with the internet started back in 2000. My main interest is in web design and development. Other times you can see me wrapped around a book or glued to Astronomy and web design magazines.

The website

This website was created in January 2011 and the domain was purchased by me in late December 2010. Initially the website was intended to house tutorials for Classic Blogger/Blogspot only however over the time it has developed into what you see today.

Several of the tutorials and articles can also be found on Nekonette.com, which is the my main website where I mostly blog about my personal life. Also some of the tutorials here have been moved to that website.

Categories/Labels

Past layouts

These are the layouts that have been used on Codeislove.net previously.

Wooden board

Layout #1

Dark chic

Layout #2

Royal crimson

Layout #3

Articles, Tutorials and Contests

Articles


Please do not copy the articles verbatim and/or redistribute them on your site. And I'd appreciate it if you link back to me.

Tutorials


Please do not copy the tutorials verbatim and/or redistribute them on your site. And I'd appreciate it if you link back to me.

Popular tutorials:

Converting HTML layout to Wordpress series: How to code Classic Blogger template series:

Other tutorials:

Contests

Linkages

On-site navigation

Network

Looking for money-making opportunities? Check out these websites.

Blog Advertising - Advertise on blogs with SponsoredReviews.com

Business 2 Blogger

banner

Contact the webmistress

You can email me your messages/tutorial requests using the contact form:

Advertising

Codeislove: Geek Is Chic is a blog which houses various articles, tips and tutorials on web design as well as a mix of personal insights published by the website owner.

Simple site statistics:
Monthly Unique Visitors: 5000+
Monthly page views: 7,000 ~ 9,000

Also, if you think that you have a good advertisement offer to discuss with me, do contact me and let's discuss about it.

Get reviewed

You can have your website/blog reviewed here on Codeislove. Alternatively, you can also apply to get your website/blog reviewed on my other website, Amalina.org. You can request your review to be public or private. If you choose to have it public, it will be posted here on Codeislove. Similarly, if you want it to be private, I will send the review to you via email.

Please send an email to me in this format and I will get back to you as soon as I can:

Name:
Email:
Website/blog:
Do you want the review to be public/private?

Websites/blogs currently being reviewed:
Aroha - Ashleenah
Twinkle Toes - Eryn - completed
Gadis bermata cokelat - Nurul Nabila - completed

Related Posts Plugin for WordPress, Blogger...