Query Loop Exclude Posts
Extends the Query Loop Block to allow excluding specific posts.
The facts
- Rating
- 5★ from 1
- Active installs
- 100+
- Price
- Free
- Last updated
- 20 Jan 2025
- Added
- Dec 2024
- Requires WP
- 6.6
- Tested up to
- WP 6.7.7
- Requires PHP
- 8.0
- Downloads
- 1,619
Our analysis
AI-assistedQuery Loop Exclude Posts is a WordPress plugin that enhances the Query Loop Block by allowing you to exclude specific posts from the display. You can select posts to exclude by title and also toggle an option to exclude the current post being viewed. This is particularly useful for creating related posts sections on single post templates.
The plugin works with any post type set within the Query Loop Block, making it versatile for different content types. It is suitable for users looking to refine their content presentation by controlling which posts appear in loops.
Best for: This plugin suits WordPress users who want to customise their post displays in query loops.
What it does well
- ✓Extends the Query Loop Block functionality
- ✓Allows exclusion of specific posts by title
- ✓Includes an option to exclude the current post
- ✓Compatible with various post types
- ✓Developed by ColinD with source available on GitHub
Where it falls short
- •Limited information on additional features or support options
Verdict
Query Loop Exclude Posts provides a straightforward solution for excluding posts in loops, making it a useful tool for content management in WordPress.
From the developer
ColinD's own description of Query Loop Exclude Posts, lightly tidied.
Extends the Query Loop Block to allow excluding specific posts.
- Provides controls in the Query Loop Block Select specific posts by title.
- Provides a toggle to exclude the current post.
Works with whichever post type is set for the query loop Block (Post, Page, etc)
“Exclude Current Post” is helpful for “related posts” patterns often used on a single
post template. Using this option on the query loop block will let it pull in posts but
not the single post currently being viewed.
Development and Support
wp
This plugin is developed on Github. You can find the uncompressed source javascript and
submit issues and pull requests there:
https://github.com/colinduwe/exclude-posts
If you’ve checked out the full source code either from my repo or your own fork you’ll
want to do the following in your terminal:
1. Navigate within this plugin’s directory.
2. Install the development dependencies by running ‘npm install’
3. Work on the plugin code by running ‘npm start’
4. Complete your work by building for production by running ‘npm run build’