Inject an array of posts into a WP query object as if queried, particularly useful to allow use of standard template tags.
/wp-content/plugins/directory for your site (or install via the built-in WordPress plugin installer)
c2c_inject_query_posts()function to inject an array of posts into a WP query object. Specify the posts array as the first argument. Configure the query object by passing an array as the second argument. If specifying a WP query object, pass it as the third object; if not specified then the global wp_query object will be assumed.
Requires: 3.6 or higher
Compatible up to: 4.4.2
Last Updated: 2 weeks ago
Active Installs: 10+
Got something to say? Need help?