PHPackages                             elevati/wp-api-multiple-posttype - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. elevati/wp-api-multiple-posttype

ActiveWordpress-plugin[API Development](/categories/api)

elevati/wp-api-multiple-posttype
================================

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

1.0.4(7y ago)4714.1k7[3 issues](https://github.com/elevati/wp-api-multiple-posttype/issues)GPL-3.0-or-laterPHP

Since Feb 7Pushed 7y ago5 watchersCompare

[ Source](https://github.com/elevati/wp-api-multiple-posttype)[ Packagist](https://packagist.org/packages/elevati/wp-api-multiple-posttype)[ RSS](/packages/elevati-wp-api-multiple-posttype/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (3)Versions (9)Used By (0)

Multiple Content type Query API for Wordpress Rest Api V2
=========================================================

[](#multiple-content-type-query-api-for-wordpress-rest-api-v2)

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

About
-----

[](#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`

Credits
-------

[](#credits)

Build using the code shared by Ruben Vreeken, () on stackoverflow ()

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~86 days

Recently: every ~40 days

Total

7

Last Release

2912d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13740017?v=4)[Stout Logic, LLC](/maintainers/stoutlogic)[@StoutLogic](https://github.com/StoutLogic)

![](https://avatars.githubusercontent.com/u/7487641?v=4)[Salil Kothadia](/maintainers/salil-elevati)[@salil-elevati](https://github.com/salil-elevati)

---

Top Contributors

[![ostowe](https://avatars.githubusercontent.com/u/2472666?v=4)](https://github.com/ostowe "ostowe (2 commits)")[![cupojoe](https://avatars.githubusercontent.com/u/3393221?v=4)](https://github.com/cupojoe "cupojoe (1 commits)")[![tedc](https://avatars.githubusercontent.com/u/61338?v=4)](https://github.com/tedc "tedc (1 commits)")

---

Tags

rest-apiv2wordpress-pluginwp-api

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/elevati-wp-api-multiple-posttype/health.svg)

```
[![Health](https://phpackages.com/badges/elevati-wp-api-multiple-posttype/health.svg)](https://phpackages.com/packages/elevati-wp-api-multiple-posttype)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[october/rain

October Rain Library

1601.7M82](/packages/october-rain)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
