Query Shortcode Wordpress Plugin is used by 7 websites. Among 7, 0 site is within top 10,000 and 0 site is within top 100,000 websites.
Wordpress Plugin Information of
|Plugin Meta Name||Plugin Meta Information|
|Plugin Description||An insanely powerful shortcode that enables you to query anything you want and display it however you like.|
|Detail Plugin Description||
This plugin gives you
You can use all parameters supported by WP_Query class to filter the posts; you can query for specific post types, categories, tags, authors, etc. You also have to define how you want to format the output:
The above shortcode will display the title of the latest 5 posts from the category with the ID of 3. Available keywords are: TITLE, CONTENT, AUTHOR, AUTHOR_URL, DATE, THUMBNAIL, CONTENT, COMMENT_COUNT and more to be added later.
With the "cols" parameter you can display the output in a grid. So this:
will display the latest 3 posts in the defined template, in 3 columns. If in the above snippet we set the posts_per_page option to 6, it will display the latest 6 posts in two rows that each has 3 columns.
With the "lens" parameter you can display the query results in a Tab, Accordion, or Carousel widget. Example:
This will create an accordion widget of all our posts from the "faq" post type. This creates a carousel of latest five featured posts:
Other supported parameters
Aside from wp_query parameters, the shortcode also supports additional parameters:
Wordpress Official Plugin Repository