Block: Query No Results
WordPress Block. Provides a block wrapper for elements which should be displayed when there are no results found in a query loop block.
by Say Hello GmbH · github.com/sayhellogmbh/shb-query-no-results
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/sayhellogmbh/shb-query-no-results/archive/refs/heads/main.zipReadme
=== Block: Query No Results === Contributors: mhowellsmead, poena Tags: block Tested up to: 5.9 Stable tag: 0.2.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html
Provides a block wrapper for elements which should be displayed when there are no results found in a query loop block.
This plugin is closely based on preparatory work by Carolina Nymark for a WordPress Core implementation.
== Installation ==
- Upload the plugin files to the
/wp-content/plugins/shb-query-no-resultsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
- You can add the “No results” block within a query loop block. (Outside the post template.)
== Changelog ==
= 0.2.0 =
- Extend plugin to use parent block context.
= 0.1.0 =
- Release.