This Pro tutorial shows how we can prefilter the results of a query output by a Bricks query loop to only those for which the value of a specified custom field is not blank.
Sridhar 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 Tutorials..
Pro
Posts Grouped by ACF or Meta Box Select Field Value as Tabs in Bricks
Updated on 9 Mar 2023: Added Meta Box specific instructions. This Pro tutorial provides the steps to show labels of an Advanced Custom Fields' Select-type…
Sorting ACF Relationship Posts by Date Meta in Bricks
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…
Grouping ACF Post Objects by a Repeater Sub Field in Bricks
Consider the following scenario. CPT: product (from WooCommerce) ACF field group for the product post type: A Repeater with a Select sub field and Post…
This Pro tutorial provides the steps to show post-specific maps with custom marker content in Bricks using Google's Maps JavaScript API and Advanced Custom Fields.…