8th Aug '24/0 commentsACPT Gallery Field Query Loop in BricksSridhar Katakam This Pro tutorial provides the steps to output images selected in a ACPT's Gallery-type field for posts as a grid using a Bricks query loop. Step 1 Create a field group attached to your desired post type (page in this example) having a Gallery field. In the above screenshot, page-fields is the field group name (slug) page-meta is the box name (slug) page-gallery is the field name (slug) Step 2 Edit the post(s) to which the field group is attached and populate the field. Step 3 Edit your Page/template with Bricks. This is a BricksLabs Pro tutorial. For full access login below or create your BricksLabs Pro account Username Password Remember Me Forgot Password Tagged: ACPTBricksPluginsProQuery LoopSridhar KatakamSridhar Katakam is a Bricks enthusiast. He likes helping others by researching and solving WordPress-related problems and building websites.Get access to all 634 Bricks code tutorials with BricksLabs Pro
Pro Post sub field Bricks Query Loop in a Meta Box Group fieldLet's consider this Meta Box field group for Pages: FAQs is a Group-type of field in which one of the sub fields is "Answer Post",…Read more →Categories: Bricks, Plugins, ProTags: get_query_for_element_id, Meta Box, Nested Queries
Pro Child Posts Section in BricksThis Pro tutorial provides the steps to limit the posts (can be of any post type) output by Bricks' query loop to children of the…Read more →Categories: Bricks, ProTags: Query Loop
Pro Category Posts Accordion in BricksThis Pro tutorial provides the steps to set up a dynamic accordion of posts grouped by their categories based on the previous Posts Grouped by…Read more →Categories: Bricks, ProTags: Accordion, bricks/posts/query_vars, Nested Queries
Pro Dynamic Horizontal Posts Accordion in BricksUpdate on 8 Sep 2024: You may want to follow the newer version that considers accessibility. Looking to make a Horizontal Image Accordion dynamic? This…Read more →Categories: Bricks, ProTags: Horizontal Accordion, Query Loop
Pro Current Post’s Terms in BricksUpdated on 15 Jan 2024 This Pro tutorial provides the steps to set up a grid of terms (like categories) that the current post is…Read more →Categories: Bricks, ProTags: JSON Code, Query Loop, Terms Query
Filtering Bricks Posts Query Loop by Meta Box Group’s Radio Subfield ValueIn the past we showed how a Bricks posts query loop can be filtered by Meta Box group's subfield of types text/number and Datepicker here.…Read more →Categories: Bricks, PluginsTags: Meta Box, Query Loop
How to add a layout toggle on query loops in BricksIn this tutorial, we’ll show you how to change the layout of your query loop container based on the click of an icon toggle sitting…Read more →Categories: Bricks, FreeTags: Query Loop
Adding any Custom WP_Query loop to Bricks’ Query LoopSometimes we may need to create a custom post loop using Bricks' query loop feature, but wish to use our own WP_Query code for more…Read more →Categories: Bricks, FreeTags: bricks/query/run, Query Loop, WP_Query
Pro Top-level Pages and Children Bricks Query LoopThis Pro tutorial for Bricks users can be considered Part 2 or a variation of the earlier Bricks Query Loop for Top-level Parent Pages with…Read more →Categories: Bricks, ProTags: Nested Queries