Title: WP Rest Api V2 Multiple PostTypes
Author: salilkothadia
Published: <strong>27 فوریه 2017</strong>
Last modified: 12 جولای 2018

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/wp-api-multiple-posttype.svg)

# WP Rest Api V2 Multiple PostTypes

 توسط [salilkothadia](https://profiles.wordpress.org/salilkothadia/)

[دانلود](https://downloads.wordpress.org/plugin/wp-api-multiple-posttype.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/wp-api-multiple-posttype/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/wp-api-multiple-posttype/#reviews)
 * [توسعه](https://fa.wordpress.org/plugins/wp-api-multiple-posttype/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-api-multiple-posttype/)

## توضیحات

### Multiple Content type Query API for WordPress Rest Api V2

Extension of wp/v2/posts api to allow query multiple post types

### About

Want to get your site’s posts, pages, articles, events?

Use the Endpoint: ‘/wp-json/wp/v2/multiple-post-type’

List:

    ```
    GET request to `/wp-json/wp/v2/multiple-post-type?&type[]=post&type[]=page`
    ```

Get the page with slug “about-me”:

    ```
    GET /wp-json/wp/v2/multiple-post-type?slug=about-me&type[]=post&type[]=page
    ```

Search term “awesome”:

    ```
    GET /wp-json/wp/v2/multiple-post-type?search=awesome&type[]=post&type[]=page&type[]=articles<h3>Credits</h3>
    ```

Build using the code shared by Ruben Vreeken, (https://github.com/Rayraz)
 on stackoverflow(
http://stackoverflow.com/questions/38059805/query-multiple-post-types-using-wp-rest-
api-v2-wordpress)

### License

[GPLv3](http://www.gnu.org/licenses/gpl-3.0.html)

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“WP Rest Api V2 Multiple PostTypes” نرم افزار متن باز است. افراد زیر در این افزونه
مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “WP Rest Api V2 Multiple PostTypes” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-api-multiple-posttype)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-api-multiple-posttype/)،
[مخزن SVN](https://plugins.svn.wordpress.org/wp-api-multiple-posttype/) را بررسی
کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/)
مشترک شوید.

## اطلاعات

 *  نگارش **1.0.3**
 *  آخرین به‌روزرسانی **8 سال پیش**
 *  نصب‌های فعال **100+**
 *  نگارش وردپرس ** 4.8 یا بالاتر **
 *  آزمایش‌شده تا **4.9.31**
 *  نگارش PHP ** 5.2.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wp-api-multiple-posttype/)
 * برچسب
 * [api](https://fa.wordpress.org/plugins/tags/api/)[JSON](https://fa.wordpress.org/plugins/tags/json/)
   [posttypes](https://fa.wordpress.org/plugins/tags/posttypes/)[restapi](https://fa.wordpress.org/plugins/tags/restapi/)
   [v2](https://fa.wordpress.org/plugins/tags/v2/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wp-api-multiple-posttype/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/wp-api-multiple-posttype/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/wp-api-multiple-posttype/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-api-multiple-posttype/)