=== WP Ajax Recent Posts === Contributors: QiQiBoY Author Homepage: http://www.qiqiboy.com Tags: wordpress, ajax, recent, posts Requires at least: 2.7 Tested up to: 3.0.1 Stable tag: 1.0.1 Show your recent posts on sidebar and provide ajax pagenav function. == Description == Show your recent posts on sidebar and provide ajax pagenav 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_Recent_Posts('number=8&cmtcount=1&excerpt=1&length=100'); ?> to custom the posts display position.
This function accepts four 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
显示一组支持ajax查看的最新文章列表。
如何使用插件呢?很简单,有两种方法:
1.到小工具页面去添加小工具。
2.使用自定义调用函数<?php WP_Ajax_Recent_Posts('number=8&cmtcount=1&excerpt=1&length=100'); ?>
== Installation == 1. Download the plugin archive and expand it (you've likely already done this). 2. Put the 'WP Ajax Recent 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 Recent Posts. 4. Go to the WP Ajax Recent Posts Options page (Settings > WP Ajax Recent Posts Option). 5. Go to widgets page to add the widget to your sidebar. 下载插件,上传到插件目录,在后台管理中激活插件,到设置页面进行简单设置,然后在小工具页面向边栏添加边栏回复小工具即可。
== Changelog == = 1.0 = 2010/10/07 插件开发完毕,上线。