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

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

安裝方式

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〉的開發相關工作。

參與者

將〈Ajax Post Filter〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

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