WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Ajax Random Posts

Show your Random posts on sidebar and provide ajax auto refresh function.

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 <?php WP_Ajax_Random_Posts('number=8&cmtcount=1&excerpt=1&length=100&auto=0&time=60'); ?> 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.使用自定义调用函数<?php WP_Ajax_Random_Posts('number=8&cmtcount=1&excerpt=1&length=100&auto=0&time=60'); ?>

Requires: 2.7 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-11
Downloads: 1,634

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0