Facilitates injecting an array of posts into a WP query object as if queried. Particularly useful to allow use of standard template tags.
As of April 2026, Inject Query Posts is a WordPress loop plugin with 10 active installations and a 0/5 rating0. It has been downloaded 5.8K+ times in total. Requires WordPress 3.6+ and PHP false+. Available on WordPress.org since 2010. Top alternative: Elementor Custom Skin.
This plugin provides a function for use by developers who have their own code for fetching posts according to a given criteria and now want to make use of loop-aware template tags to display those posts.
WordPress’s template tags are intended to be used within ‘the loop’. The loop is managed by a WP_Query object which sets up various global variables and its own object variables for use by the various template tags. The primary purpose of a WP_Query object is to actually query the database for the posts that match the currently specified criteria. However, if you don’t need to query for posts since you already have them by some other means, you can still take advantage of the template tags by injecting those posts into the WP_Query via this plugin.
Depending on the…
| WordPress | 3.6+ requiredTested up to 6.8.5 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.