Download the PHP package devaloka/network-wp-query without Composer
On this page you can find all versions of the php package devaloka/network-wp-query. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package network-wp-query
Network WP Query
A WordPress plugin that provides Network-wide WP_Query for Multisite environment.
This plugin is based on / a improved version of WP_Query_Multisite (a custom version of WP_Query_Multisite).
Installation
Manual Installation
- Just copy all files into
<ABSPATH>wp-content/plugins/network-wp-query/
.
Manual Installation (as a Must-Use plugin)
-
Just copy all files into
<ABSPATH>wp-content/mu-plugins/network-wp-query/
. - Move
network-wp-query/loader/50-network-wp-query-loader.php
into<ABSPATH>wp-content/mu-plugins/
.
Installation via Composer
- Install via Composer.
Installation via Composer (as a Must-Use plugin)
-
Install via Composer.
-
Move
network-wp-query
directory into<ABSPATH>wp-content/mu-plugins/
. - Move
network-wp-query/loader/50-network-wp-query-loader.php
into<ABSPATH>wp-content/mu-plugins/
.
Example Usage
Standard Loop
Query to several specific Sites
Query excluding several specific Sites
Limit the number of posts per Site
Parameters
Name | Type | Description |
---|---|---|
network | boolint | Whether perform network-wide query. |
sites__in | int[] | Blog IDs to include in the query. |
sites__not_in | int[] | Blog IDs to excluded from the query. |
posts_per_site | int | The number of posts per Site to retrieve. |
References
All versions of network-wp-query with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
composer/installers Version ~1.2
roave/security-advisories Version dev-master
composer/installers Version ~1.2
roave/security-advisories Version dev-master
The package devaloka/network-wp-query contains the following files
Loading the files please wait ....