December 20, 2012 at 9:39 pm #1637
You can implement custom queries from your WordPress admin already. There are essentially three different ways of using a post grid, and here are all the ways you’d implement the custom query.
- Post Grid elements of Layout Builder — There is actually an option called “Custom Query” you can use. Should be fairly obvious on this one. Let me know if you can’t find it and I’ll post a screenshot.
- Post Grid page template — Add a custom field called “query”
- Post Grid shortcode — Add the parameter “query” to the shortcode.
Ex: [post_grid query=”tag=whatever&cat=1″]