Title: WP Ajax Query
Author: aizatto
Published: <strong>2010年5月27日</strong>
Last modified: 2010年5月27日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

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

# WP Ajax Query

 作者: [aizatto](https://profiles.wordpress.org/aizatto/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-ajax-query.0.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-ajax-query/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-ajax-query/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-ajax-query/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-ajax-query/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-ajax-query/)

## 説明

WP Ajax Query allows you to query your WordPress database using the same query paramaters
you would use for WP_Query, and return a JSON respresentation of the query results.
This allows developers to easily interface with WordPress without having to relearn
a new API.

### How It Works

The Ajax Query interface would be available at http://example.com/wp-admin/admin-
ajax.php?action=query

A sample jQuery request would be like:
 $.get(ajaxurl, { action: ‘query’ }, function(){},‘
json’);

Querying for a post:
 $.get(ajaxurl, { action: ‘query’, p: 1 }, function () { },‘
json’);

JSON results:
 { “id”: 1, “type”: ‘post’, “title”: “Hello World”, “permalink”: “
http:\/\/example.com\/?p=1” }

Query a category:
 $.get(ajaxurl, { action: ‘query’, cat: 1 }, function () { }, ‘
json’);

JSON results:
 { “id”: 1 “type”: “category”, “permalink”: “http:\/\/example.com\/?
cat=1”, “terms”: [], “posts”: [] }

    ```
    terms and `posts` represents an array of either terms that are sub categories of the category, or posts belonging to the category.<h3>Why I Created It</h3>
    ```

Needed a common way to query the database for posts and taxonomies across multiple
plugins, and didn’t find a suitable replacement.

## インストール

 1. Upload the `wp-ajax-query` folder into your plugin directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

WP Ajax Query はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献
しています。

貢献者

 *   [ aizatto ](https://profiles.wordpress.org/aizatto/)

[“WP Ajax Query” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-ajax-query)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-ajax-query/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-ajax-query/)をチェックする
か、[開発ログ](https://plugins.trac.wordpress.org/log/wp-ajax-query/)を [RSS](https://plugins.trac.wordpress.org/log/wp-ajax-query/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## メタ

 *  バージョン **0.1**
 *  最終更新日 **16年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 3またはそれ以降 **
 *  検証済み最新バージョン: **3**
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-ajax-query/)
 * タグ
 * [ajax](https://ja.wordpress.org/plugins/tags/ajax/)[JSON](https://ja.wordpress.org/plugins/tags/json/)
   [query](https://ja.wordpress.org/plugins/tags/query/)[wp_query](https://ja.wordpress.org/plugins/tags/wp_query/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-ajax-query/advanced/)

## 評価

レビューはまだ送信されていません。

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-ajax-query/reviews/)

## 貢献者

 *   [ aizatto ](https://profiles.wordpress.org/aizatto/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-ajax-query/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=aizat%2efaiz%40gmail%2ecom&lc=MY&item_name=Ezwan%20Aizat%20Bin%20Abdullah%20Faiz&item_number=WP%20Ajax%20Query&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)