As of October 21st, 2015 the free version Easy Query will no longer be supported.
The plugin will continue to function as usual, however anyone wishing to receive updates and new features is encouraged to upgrade to Easy Query Pro.
Create complex queries using our Custom Query Builder then add the generated shortcode to your pages via the content editor or directly into your template files using our WP_Query Generator.
Features
- Query Builder - Create your own Easy Query shortcode in seconds by adjusting the various query parameters.
- Query Generator - Generate a custom WP_Query by adjusting parameters in the Query Builder.
- Customizable Template - Easy Query’s customizable template allows you to match the look and feel of your website.
- Paging - Easily enable Easy Query paging by setting paging=”true” in your shortcode.
- Multiple Instances - Include multiple instances of Easy Query on a page, post or page template.
Check out the official website for more information!
Shortcode Parameters
Easy Query accepts a number of parameters that are passed to the WordPress query via shortcode.
- container - Select the type of HTML container that will wrap your Easy Query templates. Default = < ul >
- classes - Target your content by adding custom classes to the container. Default = null
- template - Select which template you would like to use. Default = ‘default’
- post_type - Comma separated list of post types. Default = ‘post’
- category__in - A comma separated list of categories to include by ID. Default = null
- category__not_in - A comma separated list of categories to exclude by ID. Default = null
- tag__in - A comma separated list of tags to include by ID. Default = null
- tag__not_in - A comma separated list of tags to exclude by ID. Default = null
- day - Day of the week. Default = null
- month - Month of the year. Default = null
- year - Year of post. Default = null
- author - Query by author id. Default = null
- search - Query search term (‘s’). Default = null
- post__in - Comma separated list of post ID’s to include in query. Default = null
- post__not_in - Comma separated list of post ID’s to exclude from query. Default = null
- post_status - Select status of the post. Default = 'publish'
- order - Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
- orderby - Order posts by date, title, name, menu order, random, author, post ID or comment count. Default = ‘date’
- offset - Offset the initial query (number). Default = ’0′
- posts_per_page - Number of posts to load with each Ajax request. Default = ’6′
- paging - Enable Easy Query to page the results. Default = ’true′
Example Shortcode
[easy_query type="ul" classes="blog-listing entry-list" template="default" posts_per_page="6" post_type="post, portfolio"]
Demos
- Default - Out of the box functionality and styling
- Multiple Instances - Include multiple Easy Query instances on a single page
- Owl Carousel - Creating a responsive jQuery carousel with Owl Carousel
Tested Browsers
- Firefox (Mac, PC)
- Chrome (Mac, PC, iOS, Android)
- Safari (Mac, iOS)
- IE8+
- Android (Native)
- BB10 (Native)
Website
https://connekthq.com/easy-query/