WP Manifestindependent plugin directory
manifest / editor / query-results-block

Query Results Block WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

★ 0stars
6release downloads
v1.1.0latest · 4mo ago

Install

Download query-results-block.zip From the v1.1.0 release on GitHub, Jun 16, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/philhoyt/query-results-block/releases/download/v1.1.0/query-results-block.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

A WordPress plugin that adds a "Results" block for the Query Loop. This block shows its content only when the Query Loop has posts to display - the perfect complement to WordPress's built-in "Query No Results" block.

What It Does

The Results block acts as a container that only appears when your Query Loop finds posts. Think of it as the opposite of the "Query No Results" block that WordPress includes by default.

Installation

  1. Download and upload the plugin files to /wp-content/plugins/query-results-block/
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. The "Results" block will now be available inside Query Loop blocks

How to Use

  1. Add a Query Loop block to your post, page, or template
  2. Inside the Query Loop, look for the "Results" block in the block inserter
  3. Add the Results block and place any content inside it that you want to show only when posts are found
  4. Add your conditional content - headings, text, buttons, or any other blocks

The Results block content will automatically show or hide based on whether the Query Loop has posts.

Example Usage

Query Loop Block
├── Results Block
│   ├── Heading: "Latest Posts"
│   └── Paragraph: "Check out our most recent articles"
├── Post Template (your post layout)
└── Query No Results Block
    └── Paragraph: "No posts found"

This way, visitors only see the "Latest Posts" heading when there are actually posts to show.

Changelog

1.1.0

  • Add: Automatic updates delivered through GitHub releases — update notifications now appear in the WordPress dashboard.
  • Fix: Internal code cleanup and WordPress coding-standards compliance.

1.0.0

  • Initial release: adds the Results block for the Query Loop, which shows its inner content only when the query returns posts.

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.1.0 latest
Jun 16, 2026 4mo ago
query-results-block.zip +1 asset
4
query-results-block.zip4
README.md0
Oct 8, 2025 1 year ago
query-results-block.zip
2
A grade

Security

Query Results Block 1.1.0 · audited by WP Registry

No security issues found.

Audited release
1.1.0
Findings
none
Worst severity
—
Content hash
7705794b1a4a14edb30ab27a…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.