Pro Post Data for the Current User in Bricks with Meta BoxIn the Bricks Facebook group a user asked: I need help with Metabox and Bricks! I have created a CPT "SalesRep" with multiple custom fields…Read more →Categories: Bricks, Plugins, ProTags: Meta Box, Query Loop
Pro Bricks Query Loop: Outputting a Fixed Number of ItemsIn the BricksLabs Facebook group a user asks: How might I repeat query loop items until it reaches a specific number? One service might have…Read more →Categories: Bricks, Plugins, ProTags: bricks/query/result, Filters, Meta Box
Pro Checking if the current Page/Post has Children i.e. is a Parent in BricksShows how we can check whether the current Page or Post (of any hierarchical post type) is a parentRead more →Categories: Bricks, ProTags: Conditions
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 Sorting ACF Repeater Rows in Bricks by Date Sub FieldHow the rows of a ACF Repeater query loop can be sorted by ascending or descending order of a date sub field.Read more →Categories: Bricks, Plugins, ProTags: ACF, bricks/query/result, Filters
Pro Posts older than today in BricksHow to display only posts that were published before today in a query loop.Read more →Categories: Bricks, ProTags: date_query
Pro Posts Grouped by Month and Year in BricksNesting query loops with months & years in descending order, with the inner loop outputting the posts.Read more →Categories: Bricks, ProTags: Nested Queries
Pro ACF Select Field Query Types in BricksIn the BricksLabs Facebook group a user asks: Hi all, I am building a single post template for a CPT and want to know if…Read more →Categories: Bricks, Plugins, ProTags: ACF, Custom Query Type, Query Loop
Pro Related Services grouped by Service Categories on Single Branch Posts in BricksHow to query ACF relationship fields on single CPT templates.Read more →Categories: Bricks, Plugins, ProTags: ACF, Nested Queries
Pro Conditionally Hiding Bricks Filters based on Select Filter ValueHow show or hide Bricks' filter based on the selection made by another filter.Read more →Categories: Bricks, Plugins, ProTags: ACF, Filters, JS
Pro Custom SQL Ordering for Sorting Events in BricksShowing events ordered by the event date with upcoming events in ascending order and past events in descending order.Read more →Categories: Bricks, ProTags: Ordering, Sorting, SQL
Pro Term Parent Slug Data Attribute in BricksHow we can set a data attributes on a child taxonomy dynamically based on the parent taxonomy.Read more →Categories: Bricks, ProTags: Terms Query
Pro Dynamic Horizontal Posts Accordion in BricksCreating a horizontal accordion of featured images from posts output by Bricks' query loop.Read more →Categories: Bricks, ProTags: Accordion, CSS
Pro ACF Relationship Select Filter in BricksIn 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,…Read more →Categories: Bricks, Plugins, ProTags: ACF, Filters, Relationship
Pro Sub Field Value from the Last ACF Repeater Row in BricksGetting the value of a specific sub field of an ACF Pro‘s Repeater field and output in the query loop.Read more →Categories: Bricks, Plugins, ProTags: ACF Pro
Pro Query String Value in BricksHow to output the value of a specified query string, also known as URL parameter, in Bricks.Read more →Categories: Bricks, ProTags: Query String, URL Parameter
Pro Conditional Output in Bricks based on if Content has HeadingsHow to prevent the output of the table of contents if the content has no headings.Read more →Categories: Bricks, ProTags:
Pro aria-current=”true” for Current Categories on single Posts in BricksHow to separately style only the category links that are assigned to the current post.Read more →Categories: Bricks, ProTags: Terms Query
Pro RCP Memberships grouped by Membership Levels in BricksDisplaying RCP‘s membership levels, with the names of active members under each level.Read more →Categories: Plugins, ProTags: Restrict Content Pro
Pro x Number of Random Bricks Query Loop Items(s) to be Shown Every x HoursShowing how to display one random row of a Meta Box group for an hour and then output another random row.Read more →Categories: Bricks, ProTags: bricks/query/result, Filters
Pro Posts Grouped by Post Dates in BricksSetting up query loops for “Post Dates” with an the inner loop displaying all posts published on that day.Read more →Categories: Bricks, ProTags: Nested Queries
Pro Showing a Popup conditionally in Bricks based on Query ParameterHere's two ways a Bricks Popup can be shown on page load depending on URL parameter value.Read more →Categories: Bricks, ProTags: Popup
Pro Frontend Post Deletion in BricksHow to allow users (post authors) to delete their posts from the front end in Bricks.Read more →Categories: Bricks, ProTags: Fetch API, register_rest_route, WP REST API
Pro Conditional Output in Bricks based on Visitor SelectionHow we can dynamically show elements based on user selection.Read more →Categories: Bricks, ProTags: AJAX, Cookies, Fetch API, localStorage