This plugin hasnt been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Query from Content Shortcode

Description

Query from Content (QFC) is a simple shortcode plugin that allows you to target exactly the posts you’re looking for and list them in your post content. Further, you can specify your own header, include your current CSS styles to format the list, specify the number of results, and even display thumbnails and excerpts.

The most basic format of QFC shortcode would look like:

[qfc]Here is a Basic List[/qfc]

The above shortcode would output a header reading “Here is a Basic List”, below the header would be included your five latest posts, no formatting, no excerpt, no featured image. To customize your results, we can tell QFC to add some CSS as well as the posts’ images and excerpts. That shortcode should be placed inside your post content like so:

QFC reads the shortcode and passes the category, tag and author to the WP_Query class. If you are familiar with WP_Query, you’ll recognize the QFC code matches exactly the parameters used with WP_Query. For more advanced users, QFC allows you dynamic access to all the most popular search features provided by WP_Query, just make sure the parameters you enter into the QFC shortcode match the exact spelling of WP_Query parameters.

For more infomation on advanced usage of the Query From Content Shortcode plugin, visit the WordPress codex page for WP_Query.

Installation

If you’re downloading the Query From Content Shortcode plugin from you admin interface, all that is required is plugin activation. If you’re downloading a zip file to your computer, just drop the contents into the wp-contents/plugins/ directory of your WordPress installation and then active the plugin from your Plugins page.

Contributors & Developers

“Query from Content Shortcode” is open source software. The following people have contributed to this plugin.