Title: Ajax Post Filter
Author: James Irving-Swift
Published: <strong>5 oktober 2011</strong>
Last modified: 14 juni 2012

---

Sök tillägg

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

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# Ajax Post Filter

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

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

 * [Detaljer](https://sv.wordpress.org/plugins/ajax-post-filter/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/ajax-post-filter/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/ajax-post-filter/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/ajax-post-filter/#developers)

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

## Beskrivning

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″]

## Skärmdumpar

 * [[
 * An example of the shortcode

## Installation

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

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Ajax Post Filter” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

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

[Översätt ”Ajax Post Filter” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/ajax-post-filter)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/ajax-post-filter/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/ajax-post-filter/) eller
prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/ajax-post-filter/)
via [RSS](https://plugins.trac.wordpress.org/log/ajax-post-filter/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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/)

## Meta

 *  Version **1.6**
 *  Senast uppdaterat **14 år sedan**
 *  Aktiva installationer **20+**
 *  WordPress-version ** 3.1 eller senare **
 *  Testat upp till **3.4.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/ajax-post-filter/)
 * Etiketter
 * [ajax](https://sv.wordpress.org/plugins/tags/ajax/)[development](https://sv.wordpress.org/plugins/tags/development/)
   [filter](https://sv.wordpress.org/plugins/tags/filter/)[posts](https://sv.wordpress.org/plugins/tags/posts/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/ajax-post-filter/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  1 5-stjärnig recension     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/ajax-post-filter/reviews/?filter=1)

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

[Se alla recensioner](https://wordpress.org/support/plugin/ajax-post-filter/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

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