Show your random posts on sidebar and provide ajax refresh function.
How to use this plug-in? It』s easy and you have two ways:
1.Go to widgets page to add the widget to your sidebar.
2.use the function to custom the posts display position.
This function accepts six parameters:
number: how many posts display. Type: Integer, default 8
cmtcount: display comments count of the post. Type: Boolean, default 0. 1: yes, 0: no
excerpt: display excerpt of no. Type: Boolean, default 0. 1: yes, 0: no
length: the length of the excerpt. Type: Integer, default 100
auto: auto refresh random psots list or not. Type: Boolean, default 0. 1: yes, 0: no
time: the auto refresh interval(seconds). Type: Integer, default 60
顯示一組支援 ajax 自動重新整理的隨機文章列表。
如何使用外掛呢?很簡單,有兩種方法:
1. 到小工具頁面去新增小工具。
2. 使用自定義呼叫函式






