WP Manifestindependent plugin directory

loopy releases

For the loopy developers who want to iterate with `foreach` over `WP_Query`.

by David Ringsdorf · github.com/drdf/loopy · website

2stars
0forks

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/drdf/loopy/archive/refs/heads/main.zip

For the loopy developers who want to iterate with foreach over WP_Query.

usage

main query

foreach( loopy($GLOBALS['wp_query']) as $post ) {
    // ...
}

secondary query

$myQuery = new WP_Query('category_name=example-category');

foreach( loopy($myQuery) as $post ) {
    // ...
}

further information

Releases

2 releases.

Tag
Published
v1.0.0 latest
Feb 17, 2020 6 years ago
Feb 16, 2020 6 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.