You can see the live example in the side bar (on the right side) of this page. Each time you reload the page, the Random Posts section displays the titles of different posts.
To install the widget, just click the icon below and follow the steps.
You will be prompted to login to Blogger if you are not.
By default, ten random posts are selected and shown. If you want a different number of posts, you can have it by doing a little change to the source code of the widget. Don't be worried, the change is very simple. Just follow these steps:
- Install the widget first.
- View your blog while you are logged-in.
- In the Random Posts section, click on the Edit icon.
- In the popped up dialog, you can see the source code of the widget.
- Search for this statement -- numberOfPostsToShow12=10. It is at the very beginning of the code.
- Change 10 to the number you want. Save the change and you are done.
3 comments:
nice work dude other blogs just write find this code replace with some kind of lines and some css adding code but your implementation is so simply just click on add to blogger button and its work like a charm nice work
Thanks for sharing! Glad its working.
~Awesome!
I can't get the code, can someone send it to me?
Post a Comment