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
Pro Post-specific HappyFiles Galleries using a Meta Box Select Field in BricksUsing Meta Box to select one or more HappyFiles‘ folders and output the images.Read more →Categories: Bricks, Plugins, ProTags: HappyFiles, Image Gallery, Meta Box
Random Posts in the Same Category as the Current Single CPT Post in BricksHere’s how query loop can be set in Bricks to show related posts by a taxonomy’s termsRead more →Categories: Bricks, FreeTags: Query Loop
Pro Adding active class to the current term/post in a Bricks query loop on Term archives/single postsUpdated on 29 Feb 2024 In the Sibling Terms Bricks Query Loop tutorial, a member asked: How can I set the class "active" to the…Read more →Categories: Bricks, ProTags: Query Loop, Terms Query
Pro WordPress Posts using WP REST API in BricksThe steps to display posts from any WordPress site that has WP REST API enabled in Bricks builder using a custom query type.Read more →Categories: Bricks, ProTags: Custom Query Type
Pro CPT Posts Grouped by Custom Taxonomy Terms in BricksThe steps to set up a Service Category terms loop with an inner Service posts loop in Bricks without writing code.Read more →Categories: Bricks, ProTags: Nested Queries
Pro Displaying Gallery of SureCart Product Images with Bricks’ Query LoopCustom query loop for looping through SureCart product images.Read more →Categories: Bricks, Plugins, ProTags: SureCart
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
Using WP Grid Builder Facets with Bricks’ Query LoopUpdate: This tutorial was written before WPGB had a Bricks add-on. Now, it is advisable to use that add-on instead. Get it from here. Updated…Read more →Categories: Bricks, FreeTags: Query Loop, WPGridBuilder
Pro Building Prev / Next Posts with Query Loops in BricksFollowing on from our tutorial on Adding Custom WP_Query Loops in Bricks, in this pro tutorial we'll walk through the process of using those same…Read more →Categories: Bricks, ProTags: Adjacent posts, bricks/query/run, Query Loop, WP_Query