Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/boxuk/wp-query-include-exclude

Adds the ability to specify which posts to include or exclude in a WP query loop
https://github.com/boxuk/wp-query-include-exclude

Last synced: 5 days ago
JSON representation

Adds the ability to specify which posts to include or exclude in a WP query loop

Awesome Lists containing this project

README

        

# WP Query Include & Exclude

This package allows the editor to specify posts to include or exclude in a **Query Loop** block
when used in the Block Editor.

The core block supports the include and exclude attributes, since the query loop uses `WP_Query`
when rendering. Any attribute that can be passed to `WP_Query` can be included, so we use this
package to provide an interface to allow an editor to specify which posts should appear in a
query loop.

---

Please do not submit any Pull Requests here. They will be closed.
---

Please submit your PR here instead: https://github.com/boxuk/wp-packages

This repository is what we call a "subtree split": a read-only subset of that main repository.
We're looking forward to your PR there!