Tuesday, 7 October 2014

How to Display Random Posts in Blogger

How to Display Random Posts in Blogger


What is Random Posts Widget?

This widget displays a list of random posts from your blog providing the ability to your visitors to read your good articles from the paste. On the other hand, this widget is probably ideal for bringing back limelight to some of your posts that are buried in your blog achieve. Before, you add this widget in your blog check out the screenshot below of this widget:

How to display Random Posts in Blogger?

This tutorial consists of two parts, in the first one we’ll be adding CSS of the widget and in the other half we will add the main structure coding on the widget. So, the very first thing you need to do is to login into your blogger account and go to Template >> Edit HTML. Now in the blogger template editor, search for ]]></b:skin> tag and just above it paste the following code.






Till here, you have successfully installed CSS codes to your template, now it’s time to add main structure coding. It depends on you, where you would like to display random posts on your blog but popular blogs always recommends adding it in your sidebar. So, go to Layouts >> Add a Gadget >> Add HTML/JavaScript >> just paste the below coding in the HTML box.





Customization:

  1. You can increase the number of post to display, just change '5' to any other. 
  2. You can increase the summery of the post, just change '80' to any other.
  3. By default it display's date and comments on the post, you can disable it by changingvar rdp_info='yes'; to no. 
Once everything is done, you may save the widget by pressing Save button and that’s it. You have successfully added random posts with thumbnail on your blogger site.

We hope this tutorial have helped our users to learn how to display random posts in blogger. In past, we have already covered how to display recent postsrelated postsrandom posts button, popular posts, and most commented posts in blogger. Do share what are your opinions about this new widget we have come up with by commenting below. 


Autor : Mian Fx 



Share this article

0 comments:

Post a Comment

 
Copyright © 2014 US Blogger Lab • All Rights Reserved.
back to top