Bricks Tutorials List
Search / filter list
Tutorial | Date | Quick View |
---|---|---|
Section Templates Bricks Admin Menu Page | 14th Oct '24 | Pro In the BricksLabs Facebook group a user asks: Could you make a new tutorial about how to make a "CPT?" for Bricks template sections and other elements? Journey: We want to add re-usable element to our customers, what is can edit simply. And we just put the generated shortcode into the page. So, when they… View Tutorial → |
ACF Flexible Content in Bricks with Each Row in its Own Section | 12th Oct '24 | Pro In the previous ACF Flexible Content in Bricks tutorial we showed how Bricks' Flexible Content type of query can be used for showing the ACF Flexible Content field rows inside a Container. A user asked in the comments: Thanks for the great tutorial. How can we use flexible content where each row layout still gets… View Tutorial → |
Post Data for the Current User in Bricks with Meta Box | 9th Oct '24 | Pro In the Bricks Facebook group a user asked: I need help with Metabox and Bricks! I have created a CPT "SalesRep" with multiple custom fields that has relationship with User. In User Meta I have a Custom Field SalesRep, a dropdown that is being fed by "SalesRep" CPT Title (it’s a Post type Custom field)… View Tutorial → |
Bricks Query Loop: Outputting a Fixed Number of Items | 4th Oct '24 | Pro In the BricksLabs Facebook group a user asks: How might I repeat query loop items until it reaches a specific number? One service might have 7 images, another might have 10, but there needs to be exactly 13, so they need to loop again until 13 is reached. This Pro tutorial shows how bricks/query/result filter… View Tutorial → |
How to show a specific post’s data in a Bricks Popup | 1st Oct '24 | This tutorial provides the steps to show a specific post's data like the title, featured image in a Bricks Popup. Step 1 Go to Bricks → Templates and add a new one of the type 'Popup'. Edit it with Bricks and in its settings → Template Settings → Popup, enable "Fetch content via AJAX". In… View Tutorial → |
Creating Custom Add to Cart Buttons for SureCart Products in Bricks | 30th Sep '24 | Creating custom add to cart buttons for SureCart in Bricks, adding a loading animation & tooltip for visual feedback. View Tutorial → |
Checking if the current post has been published within the last x days | 28th Sep '24 | Looking to conditionally output an element if the current post (either in a query loop or when viewing a single post) has been published in the last x number of days? Here's how. Step 1 Register a custom function with the number of days as a parameter and returns true or false depending on whether… View Tutorial → |
Checking if the current Page/Post has Children i.e. is a Parent in Bricks | 27th Sep '24 | Pro Shows how we can check whether the current Page or Post (of any hierarchical post type) is a parent View Tutorial → |
Displaying Gallery of SureCart Product Images with Bricks’ Query Loop | 26th Sep '24 | Pro Custom query loop for looping through SureCart product images. View Tutorial → |
Sorting ACF Repeater Rows in Bricks by Date Sub Field | 26th Sep '24 | Pro How the rows of a ACF Repeater query loop can be sorted by ascending or descending order of a date sub field. View Tutorial → |
Posts older than today in Bricks | 20th Sep '24 | Pro How to display only posts that were published before today in a query loop. View Tutorial → |
Posts Grouped by Month and Year in Bricks | 19th Sep '24 | Pro Nesting query loops with months & years in descending order, with the inner loop outputting the posts. View Tutorial → |
ACF Select Field Query Types in Bricks | 17th Sep '24 | Pro In the BricksLabs Facebook group a user asks: Hi all, I am building a single post template for a CPT and want to know if I can work more effectively with some ACF data. With the ACF Select Field, I would like a way I can return the selected items and work with the data… View Tutorial → |
Displaying SureCart Featured Products & Products Collections with a Query Loop | 17th Sep '24 | We walk through how to use a query loop to display SureCart products, featured products & collections. View Tutorial → |
Related Services grouped by Service Categories on Single Branch Posts in Bricks | 16th Sep '24 | Pro How to query ACF relationship fields on single CPT templates. View Tutorial → |
Conditionally Hiding Bricks Filters based on Select Filter Value | 11th Sep '24 | Pro How show or hide Bricks' filter based on the selection made by another filter. View Tutorial → |
Custom SQL Ordering for Sorting Events in Bricks | 10th Sep '24 | Pro Showing events ordered by the event date with upcoming events in ascending order and past events in descending order. View Tutorial → |
Term Parent Slug Data Attribute in Bricks | 10th Sep '24 | Pro How we can set a data attributes on a child taxonomy dynamically based on the parent taxonomy. View Tutorial → |
Dynamic Horizontal Posts Accordion in Bricks | 8th Sep '24 | Pro Creating a horizontal accordion of featured images from posts output by Bricks' query loop. View Tutorial → |
ACF Relationship Select Filter in Bricks | 6th Sep '24 | Pro In the BricksLabs Facebook group, a user asks: I'm learning about ACF relationships and attempting to output a list of posts on any given page, and use the filter - select element in Bricks to refine the output by an ACF relationship field. Can you recommend BL Tutorials that might help here? --------------------------------------------------- CPT Downloads:… View Tutorial → |
Sub Field Value from the Last ACF Repeater Row in Bricks | 6th Sep '24 | Pro Getting the value of a specific sub field of an ACF Pro‘s Repeater field and output in the query loop. View Tutorial → |
Query String Value in Bricks | 5th Sep '24 | Pro How to output the value of a specified query string, also known as URL parameter, in Bricks. View Tutorial → |
Conditional Output in Bricks based on if Content has Headings | 5th Sep '24 | Pro How to prevent the output of the table of contents if the content has no headings. View Tutorial → |
aria-current=”true” for Current Categories on single Posts in Bricks | 3rd Sep '24 | Pro How to separately style only the category links that are assigned to the current post. View Tutorial → |
RCP Memberships grouped by Membership Levels in Bricks | 3rd Sep '24 | Pro Displaying RCP‘s membership levels, with the names of active members under each level. View Tutorial → |
x Number of Random Bricks Query Loop Items(s) to be Shown Every x Hours | 29th Aug '24 | Pro Showing how to display one random row of a Meta Box group for an hour and then output another random row. View Tutorial → |
Posts Grouped by Post Dates in Bricks | 21st Aug '24 | Pro Setting up query loops for “Post Dates” with an the inner loop displaying all posts published on that day. View Tutorial → |
Showing a Popup conditionally in Bricks based on Query Parameter | 21st Aug '24 | Pro Here's two ways a Bricks Popup can be shown on page load depending on URL parameter value. View Tutorial → |
Frontend Post Deletion in Bricks | 19th Aug '24 | Pro How to allow users (post authors) to delete their posts from the front end in Bricks. View Tutorial → |
Conditional Output in Bricks based on Visitor Selection | 15th Aug '24 | Pro How we can dynamically show elements based on user selection. View Tutorial → |
Data Attribute-based Conditional Output in Bricks | 15th Aug '24 | Pro Showing how to prevent rendering any elements that have a specific data attribute set. View Tutorial → |
Load more for Query loops in Bricks | 13th Aug '24 | Did you know that Bricks has AJAX loading for query loop posts on-click out of the box? View Tutorial → |
Sorting ACF Relationship Posts by Date Meta in Bricks | 13th Aug '24 | Pro Consider the following setup: CPT: Events ACF Fields:Event Date Information (Group)|__Event Date (Date Picker)Pick Sub Events (Relationship) An Event can have 1 or more related events via the Relationship field. When the ACF Relationship is selected as the query type of a Bricks query loop, the event posts will be ordered by their post editor… View Tutorial → |
ACPT Gallery Field Query Loop in Bricks | 8th Aug '24 | Pro How we can output images from ACPT‘s Gallery field for posts as a grid using a query loop. View Tutorial → |
Dynamic Background Slideshow in Bricks | 7th Aug '24 | Pro Using images from an ACF Gallery field or Meta Box as a sections' background slideshow with fade effect. View Tutorial → |
Posts Related by Current Post’s Terms in Bricks | 6th Aug '24 | Showing other posts assigned to the same categories/tags/custom taxonomy terms as the current post. View Tutorial → |
Filtering ACF Repeater Rows in Bricks by a Boolean Sub Field | 5th Aug '24 | Pro Limiting the ACF Repeater query loops in the three columns to only add rows for which the specified sub field. View Tutorial → |
Filtering a Bricks Terms query on Term archive pages | 2nd Aug '24 | Pro On product category archives, how to show product type names but only those that the current product category has. View Tutorial → |
Conditional single post Bricks template based on internal referrer URL | 2nd Aug '24 | Pro How to automatically select a single post template depending on the page from which the post is accessed. View Tutorial → |
Stacking Post Cards in Bricks | 2nd Aug '24 | Pro How we can stack posts in a query loop so they stick on top of the previous one when scrolling. View Tutorial → |