Using Awesome Queries

You can create query using following template in awesome queries.

Once you have written a awesome query, you can then call it at multiple places using following ways

direct posts: All posts with category:oflline-leads

You can directly use aw2_loop to access the awesome query as shown below.

slug: It is the slug of awesome query that we want to execute.

query_id, posts_per_page, category_term_slug are various aw2_local parameters defined in the awesome query (refer to above awesome query)

category_posts: All post with category: uncategorized

Above code could also be written as

To get all posts without specifying any category

timepass posts: All posts with meta: timepass=1

Getting posts based on meta query

You should document the all the local parameter that a awesome query accepts in excerpt field of awesome query.