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 633 Bricks code tutorials with BricksLabs Pro
Related Posts by Author in BricksQuerying posts on single posts by the author of the current post.Read more →Categories: Bricks, FreeTags: Query Loop
Pro ACF User Field Bricks PHP QueryIn the Bricks Facebook group a user asks: my end goal was to create a set of cards that would display the Users that are…Read more →Categories: Bricks, Plugins, ProTags: ACF, Users Query
Pro Looping Through a Cloneable Meta Box Sub Field in BricksThis Pro tutorial shows how a custom query type can be set up in Bricks to render YouTube videos (via the built-in Video element) whose…Read more →Categories: Bricks, Plugins, ProTags: bricks/query/run, bricks/setup/control_options, Custom Query Type, Filters, Meta Box, Query Loop
Pro Current Single Post Reference From Inside a Bricks Query LoopUse case: Get the single post’s custom field (like ACF Repeater or Meta Box Group) array row corresponding to the loop’s counter/indexRead more →Categories: Bricks, ProTags: Query Loop
Pro Button to Open Bricks GalleryHow to trigger a click on the first image of a gallery in Bricks when a button is clicked.Read more →Categories: Bricks, ProTags: Image Gallery, JS
Pro [WooCommerce] Up-Sells and Cross-Sells Query Loop in BricksThis tutorial provides the steps to set up up-sells and cross-sells in the single product template.Read more →Categories: Bricks, Plugins, ProTags: bricks/posts/query_vars, JSON Code, Query Loop, WooCommerce
ACF Gallery Images Count Dynamic Condition in BricksConditionally output elements based on how many images are present in the current post’s ACF Gallery field.Read more →Categories: Bricks, FreeTags: ACF Gallery, ACF Pro, Dynamic Data
Pro Post Titles and Post Content Tabs in BricksHow to set up Nestable tabs with post titles as the tab menu, and post content and/or any other post-specific data as the tab content.Read more →Categories: Bricks, ProTags: Query Loop, Tabs
Pro Meta Box Relationship Slider in BricksThis Pro tutorial provides the steps to modify the query parameter of a Bricks query loop to display slides of posts that are related to…Read more →Categories: Bricks, Plugins, ProTags: bricks/posts/query_vars, Meta Box, Query Loop, Relationship