這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Ajax Random Posts

外掛說明

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'); ?>

安裝方式

  1. Download the plugin archive and expand it (you’ve likely already done this).
  2. Put the ‘WP Ajax Random Posts’ directory into your wp-content/plugins/ directory.
  3. Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for WP Ajax Random Posts.
  4. Go to the WP Ajax Random Posts Options page (Settings > WP Ajax Random Posts Option).
  5. Go to widgets page to add the widget to your sidebar.

下载插件,上传到插件目录,在后台管理中激活插件,到设置页面进行简单设置,然后在小工具页面向边栏添加ajax随机文章即可。

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WP Ajax Random Posts〉的開發相關工作。

參與者

將〈WP Ajax Random Posts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

2010/10/09
插件开发完毕,上线。