How to Install Random Posts Widget in Blogger

How to Install Random Posts Widget in Blogger

Show random links of random posts and increase the chance of making the vistors stay longer time in your blog. This widget doesn't depend on the recent posts or the popular posts to displays links, but in a random way.


You can add it on your blog in two methods:


First method:
  • Click on (Install) button above » Select a blog.
  • (Optional) You can edit the title.
  • (Optional) You can edit the content and change the value of numofpost, it mean the number of posts.
  • Finally, click (Add widget).

Second method:
  • Upload this script file (download) to your own host (i prefer google sites). Then, copy the direct link into somewhere temporarily like notepad.
  • Go to Layout » Page Elements.
  • Click one of (Add a Gadget) links » Choose HTML/JavaScript
  • Title it like you want, such as "Random Posts".
  • Copy/paste this code into the content, and change the blue link

  • <!-- by your-tools.blogspot.com -->

    <script type='text/javascript'>
    <!--
    var numofpost=5;
    //-->
    </script>
    <script type='text/javascript' src='http://sites.google.com/site/ytcode/3/random-posts.js'></script>

    <!-- by your-tools.blogspot.com -->
  • (Optional) You can edit the content and change the value of numofpost, it mean the number of posts.
  • Finally, click Save.


Attachments

+ random-posts.zip

Codes in your comment? escape them first:


(Undo: ctrl + z)

Post a Comment