A powerful shortcode that enables you to query anything you want and display it however you like, on both pages and posts, and in widgets.
As of April 2026, Custom Query Shortcode is a WordPress post plugin with 20 active installations and a 5/5 rating from 1 reviews. It has been downloaded 3.2K+ times in total. Requires WordPress 3.3+ and PHP false+. Available on WordPress.org since 2015. Top alternative: Header and Footer Scripts.
This plugin gives you [query] shortcode which enables you to query and output any posts filtered by specific attributes.
You can use most parameters supported by WP_Query class to filter the posts; you can query for specific post types, categories, tags, authors, etc.
Aside from WP_Query parameters, the shortcode also supports the following additional parameters:
| WordPress | 3.3+ requiredTested up to 6.8.5 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.