Network WP Query
:electric_plug: Network-wide WP Query for Multisite environment, which supports POSTS-PER-SITE query etc. [STAND-ALONE][Plugin]
by Eric Lewis, Miguel Peixe, Whizark · github.com/devaloka/network-wp-query
★ 16stars
1.3kcomposer installs
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/devaloka/network-wp-query/archive/refs/heads/master.zipAlso on Packagist as devaloka/network-wp-query:
composer require devaloka/network-wp-queryFrom the readme
Network WP Query
[![Latest Stable Version][stable-image]][stable-url]
[![Latest Unstable Version][unstable-image]][unstable-url]
[![License][license-image]][license-url]
[![Build Status][travis-image]][travis-url]
A WordPress plugin that provides Network-wide WPQuery for Multisite
environment.
This plugin is based on / a improved version of WPQueryMultisite
(a custom version of WPQueryMultisite).
Installation
Manual Installation
1. Just copy all files into wp-content/plugins/network-wp-query/.
Manual Installation (as a Must-Use plugin)
1. Just copy all files into wp-content/mu-plugins/network-wp-query/.
2. Move network-wp-query/loader/50-network-wp-query-loader.php
into wp-content/mu-plugins/.
Installation via Composer
1. Install via Composer.
Installation via Composer (as a Must-Use plugin)
1. Install via Composer.
2. Move network-wp-query directory into
wp-content/mu-plugins/.
3. Move network-wp-query/loader/50-network-wp-query-loader.php
into 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 |
Read the full README on GitHub →