Skip to main content

Related Posts Widget for Blogger


Add a Related Post Widget for Blogger


Hey bloggers! Hope you're running your blogs fine. Today I'm gonna share a simple  related posts widget with you. You know how important it is. A related posts widget can retain your visitors. It helps to increase visitors' engagement with the site. Have you noticed, when you visit a site to know something and get a related post just at the end of that post you also read the related post! 


Let's consider my own case. Few days ago I visited My Blogger Tricks to know something. At the end of the post there were 05 related posts. I've also read one of those related posts. From that post, I discovered another posts which I like! After reading the 03 posts from that site, I've used the search option to find another post. 


And this only happens due to the related posts widget. Instead of one pageview, My Blogger Tricks got at least five pageviews from me. And I spent almost an hour on that site! Can you imagine? One hour instead of five minutes. And this is exactly what Google wants. 


Visitors' Engagement with the Site


And if you're able to satisfy Google, you will get - 
  • Improved Page Rank
  • Improved Search Position
  • More Pageviews
  • Finally, more Ad Revenue

Maybe I'm talking too much about SEO. But this is not my today's topic. Let't back to the related posts widget. All you need to do is just - Add a simple JavaScript to your template. And you will get 05 related posts under each post as the image shows below: 


You May Also Like Widget for Blogger



Adding the Widget to Blogger:
  1. Sign in to your blogger account and go to the dashboard.
  2. Layout > Add a Gadget from the bottom > HTML/ JavaScript Gadget.
  3. Copy the following code and paste it in the Content box.
  4. Save the Widget and View your site.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="http://blogger-related-posts.googlecode.com/files/related-posts-widget-1.0.js" type="text/javascript"></script>
<script type="text/javascript">
relatedPostsWidget({
   'containerSelector':'div.post-body'
   ,'loadingText':'loading...'
});</script>


Note: This widget may slow down your site's loading time


Stay with Marks PC Solution to get more interesting IT topics!


Comments

Popular posts from this blog

GTA San Andreas Cheat Code (PDF)

After Vice City, San Andreas is the most popular game released by Grand Theft Auto (GTA). Usually GTA releases role playing game. San Andreas is such a game where you can act like a person. You can do everything. You have to take part in missions and complete them.  To make your missions easier, there are lots of cheat codes. If you can properly apply these codes, the tough parts of the game will be easier. Cheat codes are somewhat like keyboard shortcuts of computer programs.  I've shared 63 cheat codes below. There were more cheat codes in my collection, but I've omitted the less important cheats. Effects or result of the cheats are on the left side, and the codes are on the right side.  You can copy the following codes in your PC. And for your convenience, I've also uploaded a PDF file of these codes. You will find the download link at the bottom.  Effect Cheat Code Adrenaline Mode MUNASEF All Cars Explode ALL...

Office 2016 Activator (KMSPico 10.1.5)

It's been couple of months after the release of final version of Microsoft Office 2016. And maybe you're tired of finding for a working activator for this version. Today I'm gonna share Office 2016 activator with you - no more waiting!! About the Activator   Name: KMSPico 10.1.5 File Size: 3 MB (Approx) File Type: Zipped Folder 100% Neat & Clean - No virus! Activating Capacity . . . KMSPico 10.1.5 is successfully leading the KMS world for last few months. If everything is okay, success rate is 100%. This tool has been tested and verified by Marks PC Solution. With this tool, you can activate -  Office 2016, 2013 & 2010 Windows 10, 8.1 & 8 Hopefully this version will work for both 32 bit & 64 bit versions of Windows. Installing Office 2016 Collect/ Download Office 2016 Professional Plus from Microsoft or somewhere else. Install it as trial version without any key. Use the follow...

Joining Texts from Multiple Cells in Excel

  Programs like MS Excel is full of functions. There are many useful functions that we don't use or we don't know about. One of them is CONCATENATE. It means joining or linking. With this function you can join texts from multiple cells. Let's see how . . . Suppose you're working in an Excel Worksheet where you need to combine texts from different cells. I'm gonna show you an example. Let's consider the image below -    What do you see ? I've imputed First Name and Last Name. In Full Name column I've used the formula i.e. CONCATENATE. And in the last column I've added Mr. with the full name.    So how do you use this formula ? Here it is -  =CONCATENATE(A2," ",B2) Observe it carefully. You can add more than 02 cells with this functions. Here I've just used 02 cells. You may think what is this " " for ? You may notice that there is a space between the two i.e. " & ".  If you don't use " " then you...