This plugin introduces a Query Loop block variation that will empower users to be able to do much more complicated queries with the Query Loop block, such number of posts to display and post meta
Please use the either the support forum or the official repository for any questions or to log issues.
Improve the performance of the query by disabling pagination
Select additional post types for your query!
Set the number of items you want to display (up to 50).
Choose the posts you want to display manually.
Remove the current post from the query.
Choose to exclude posts from a list of categories
Choose whether you want to start at the first or 100th!
Generate complicated post meta queries using an interface that allows you to create a query based on meta_key
, meta_value
and the compare
options. Combine multiple queries and determine if they combine results (OR) or narrow them down (AND).
Query items before a date, after a date or between two dates or choose to show the post from the last 1, 3, 6 and 12 months.
Sort in ascending or descending order by:
- Author
- Date
- Last Modified Date
- Title
- Meta Value
- Meta Value Num
- Random
- Menu Order (props to @jvanja)
- Name (props @philbee)
- Post ID (props to @markhowellsmead)
Please note that this is a slight duplication of the existing sorting controls. They both work interchangeably but it just looks a bit odd in the UI
Detailed instructions on how to extend AQL as well as an example are available here