Title: Ajax Post Filter
Author: James Irving-Swift
Published: <strong>2011 年 10 月 5 日</strong>
Last modified: 2012 年 6 月 14 日

---

搜索插件

![](https://ps.w.org/ajax-post-filter/assets/banner-772x250.png?rev=557352)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/ajax-post-filter_b1d5ea.svg)

# Ajax Post Filter

 作者：[James Irving-Swift](https://profiles.wordpress.org/irvingswiftj/)

[下载](https://downloads.wordpress.org/plugin/ajax-post-filter.1.6.zip)

 * [详情](https://cn.wordpress.org/plugins/ajax-post-filter/#description)
 * [评价](https://cn.wordpress.org/plugins/ajax-post-filter/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ajax-post-filter/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ajax-post-filter/#developers)

 [支持](https://wordpress.org/support/plugin/ajax-post-filter/)

## 描述

Use shortcode [ajaxFilter] to create a nice filter posts feature.
 Attributes for
this shortcode include: * posttypes – comma separated post types that you want displayed*
taxonomies – comma separent taxonomies that you want to be able to filter by. * 
showcount – set to 0 or 1 toggle the displaying of post counts next to taxonomies*
pageination – accepts values “top,bottom”, “top”, “bottom” depend where you want
your pagination * posts_per_page – set the amount of posts per page (default is 
15) * shownav – set to 0 or 1 to toggle on of off the navigation

Example:
 [ajaxFilter posttypes=”test_album” taxonomies=”category,tag,genre,writer”
showcount=”1″]

## 屏幕截图

[⌊An example of the shortcode⌉⌊An example of the shortcode⌉[

An example of the shortcode

## 安装

Install from wordpress plugins directory.

Else, to install manually:

 1. Upload unzipped plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Ajax Post Filter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ James Irving-Swift ](https://profiles.wordpress.org/irvingswiftj/)
 *   [ Electric Studio ](https://profiles.wordpress.org/electric-studio/)
 *   [ Matthew Burrows ](https://profiles.wordpress.org/matthew-burrows/)

[帮助将「Ajax Post Filter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ajax-post-filter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ajax-post-filter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ajax-post-filter/)，或通过[RSS](https://plugins.trac.wordpress.org/log/ajax-post-filter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ajax-post-filter/)。

## 更新日志

#### 1.0

 * Version 1.

#### 1.1

 * Bug fixes
 * Will use ajax-loop.php file from template if exists

#### 1.3

 * Adjustable amount of posts per pages
 * Taxonomy Titles are now displays as headings on the navigation rather than the
   slugs
 * Pagination now included ( by default, appears like “Prev Page 1 | 2 | 3 | 4 Next
   Page”)
 * Added pagination, posts_per_page, shownav to attributes in shortcode.

#### 1.4

 * Removed ‘Filter’ Title from navigation
 * Fixed bug where unpublished posts were being displayed on ajax responses
 * Fixed error of wrong classes on next and previous links.
 * Fixed last page sometimes getting ignored bug

#### 1.5

 * Plugin is now coded in Classes to be consistant with our other plugins
 * Fixed bug in which plugin crashed if taxonomies weren’t specified in the shortcode

#### 1.6

 * Minor JS bug fix
 * Ajax url fix
 * Included script that enables HTML5 browser features for IE7/8 (https://github.
   com/aFarkas/html5shiv/)

## 额外信息

 *  版本 **1.6**
 *  最后更新：**14 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ajax-post-filter/)
 * 标签
 * [ajax](https://cn.wordpress.org/plugins/tags/ajax/)[development](https://cn.wordpress.org/plugins/tags/development/)
   [filter](https://cn.wordpress.org/plugins/tags/filter/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/ajax-post-filter/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ajax-post-filter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ajax-post-filter/reviews/)

## 贡献者

 *   [ James Irving-Swift ](https://profiles.wordpress.org/irvingswiftj/)
 *   [ Electric Studio ](https://profiles.wordpress.org/electric-studio/)
 *   [ Matthew Burrows ](https://profiles.wordpress.org/matthew-burrows/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ajax-post-filter/)