concept-image / wp-query
A Roots Acorn package for querying WordPress posts with a builder.
0.0.2
2025-10-03 16:14 UTC
Requires
- php: ^8.2
- roots/acorn: >=4.3
Requires (Dev)
- brain/monkey: ^2.6
- mockery/mockery: ^1.6
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^10.0
- symfony/var-dumper: ^7.3
This package is auto-updated.
Last update: 2025-10-03 14:18:30 UTC
README
This repo can be used to scaffold an Acorn package. See the Acorn Package Development docs for further information.
Installation
You can install this package with Composer:
composer require vendor-name/example-package
You can publish the config file with:
$ wp acorn vendor:publish --provider="VendorName\ExamplePackage\Providers\ExampleServiceProvider"
Usage
From a Blade template:
@include('Example::example')
From WP-CLI:
$ wp acorn example