Actual property web sites reside or die through their seek revel in. Guests be expecting to go into an deal with or town, make a choice a belongings sort, choose the choice of bedrooms and loos, select an amenity, and notice matching listings with out leaving the web page or wrestling with a clunky filtering plugin.
On this submit, we’ll construct that more or less filterable listings web page the use of Divi 5 and Complex Customized Fields (ACF). We’ll mix two Divi 5 options, the Loop Builder and the Put up Filter out module presented with the Loop Filter out Modules, to create an absolutely customized belongings grid that guests can seek and clear out at the entrance finish. ACF will care for the customized fields, together with value, town, bedrooms, bogs, sq. pictures, facilities, and agent title, that energy the loop playing cards and clear out shape.
By means of the tip, you’ll have a refined actual property structure you’ll use in your subsequent challenge, along side a downloadable JSON report of the finished design.
Let’s get began.
What Is The Loop Builder In Divi 5?
The Loop Builder is without doubt one of the maximum versatile options in Divi 5. It permits you to flip any Divi component right into a dynamic loop of content material pulled out of your web page’s database. That content material can also be posts, customized submit varieties, phrases (classes or tags), or customers.
In easy phrases, you design one merchandise precisely the best way you need it to appear, inform Divi which content material to cycle via, and the builder robotically repeats that design for each and every matching merchandise.
Right here’s the way it works:
1. Design The Template
Construct a unmarried loop merchandise the use of any mixture of Divi modules and design settings. You aren’t restricted to a premade Weblog or Portfolio module, so you’ve got entire ingenious freedom.

2. Permit Looping And Configure The Question
Flip looping on for the container that holds your design. Then set the question choices: make a choice the submit sort (or phrases/customers), clear out through classes or tags, come with or exclude particular pieces, set the order, come to a decision what number of pieces seem in keeping with web page, practice an offset, or create customized meta queries.

3. Insert Dynamic Content material
Change static textual content and pictures with dynamic content material from the loop, together with the submit name, Featured Symbol, excerpt, customized fields, and extra. Every repeated merchandise robotically shows its personal information.

For the reason that Loop Builder works with any Divi component, you’ve got complete keep an eye on over the design of each and every repeated merchandise. It helps customized submit varieties, ACF fields, WooCommerce merchandise, taxonomy phrases, and customers. This makes it appropriate for plenty of sorts of dynamic content material.
Why It’s Very best For Actual Property Listings
For an actual property site, you’ll design a customized belongings card that attracts within the precise fields you want, then have Divi robotically generate a responsive grid of the ones playing cards. This will give you keep an eye on over the structure whilst conserving it attached to the checklist information.
What Are The Loop Filter out Modules?
The Loop Filter out Modules upload front-end controls to the Loop Builder. They let guests seek, clear out, and type looped content material with out leaving the web page or depending on a separate third-party filtering plugin.
The root is the Put up Filter out module. It serves as a sort wrapper with a number of Put up Filter out Merchandise modules that create the controls guests have interaction with.

There are a selection of box varieties related to the Put up Filter out module, together with:
- Textual content: A seek box that queries submit titles, content material, or decided on customized fields. We’ll use it to let guests seek through deal with or town.
- Make a selection: A dropdown menu that attracts taxonomies or meta values.
- Radio: A listing of single-choice buttons.
- Checkbox: Multi-select choices that permit customers mix filters.
- Order / Order By means of: Controls that permit guests make a choice how the effects are taken care of.
- Buttons: Publish and Reset buttons that practice or transparent the filters.

Whenever you attach the Put up Filter out module to a particular Loop Goal, the customer’s submitted possible choices replace the question that powers the loop. The matching effects then refresh with out requiring the customer to go away the web page.

Divi 5 additionally features a Tooltip module. You’ll nest it inside of any module, together with an merchandise inside of a loop. Soaring over or clicking the dad or mum component finds the Tooltip, making it helpful for the extra data ceaselessly incorporated on belongings checklist playing cards.

Necessities & Setup
Sooner than we begin development the listings web page, we want a forged basis of knowledge. Right here’s the whole thing you’ll arrange first.
Create A Customized Put up Sort
The use of Complex Customized Fields, check in a brand new submit sort known as Listings. This assists in keeping your own home information break free common weblog posts and will give you keep an eye on over its admin interface.

Upload Taxonomies And Customized Fields
Nonetheless inside of ACF, create a Taxonomy for Belongings Sorts. Be sure that the Listings Put up Sort is chosen ahead of saving. This may energy the Belongings Sort keep an eye on within the Put up Filter out shape.

Subsequent, create a brand new Box Crew and title it Actual Property Listings.

From there, you’ll create the next Customized Fields:
- Tooltip Textual content (Textual content): That is the content material that can seem within the information tooltip.
- Town (Textual content): This retail outlets the site guests can seek along the checklist deal with.
- Value (Textual content): This may dangle the checklist’s value within the loop card.
- Bedrooms (Radio Button): This may show the choice of bedrooms (2-5) at the checklist card and function a Radio box within the Put up Filter out module.
- Bogs (Radio Button): Presentations the choice of bogs (2-5) within the card and Put up Filter out module.
- Facilities (Radio Button): Shops one amenity worth, equivalent to Storage, Pool, Waterfront, or New Development, for the cardboard and clear out.
- Agent (Textual content): Presentations the checklist agent’s title within the checklist card.
- Sq. Pictures (Textual content): Presentations the checklist’s overall sq. pictures at the checklist card.

Create Pattern Listings
Upload a number of listings (we’ll upload 12) the use of your new customized submit sort.

Fill within the Name the use of the checklist’s deal with, upload the Featured Symbol, entire all of the customized fields, and assign a Belongings Sort. The extra numerous your pattern information is, the easier you’ll have the ability to check the filters later.

Create A New Web page
Within the WordPress admin dashboard, create a new web page, title it Listings, and open it with the Visible Builder. That is the place we’ll construct all the filterable actual property structure.

As soon as those 4 steps are entire, you’re waiting to start out designing the loop and the clear out shape.
Construct The Actual Property Listings Loop
Now that the information basis is in position, it’s time to design the guts of the web page: the listings loop itself. On this segment, we’ll create a blank, totally customized belongings card and switch it right into a dynamic loop that attracts in actual checklist information. By means of the tip, you’ll have a responsive grid that appears like the completed structure beneath, waiting to be filtered and searched within the subsequent steps.

Create The Basis
Get started through including a 1/4 + 3/4 Column Row to the web page.

Within the Row’s Design tab, extend the Format choice staff and assign a 0px Horizontal Hole and a 30px Vertical Hole.

Subsequent, extend the Border choice staff. Below Border Types, choose the Best Border tab, assign a 1px Best Border Width, upload a Best Border Colour, and set the Best Border Taste to Dashed.

Configure The First Column
Now, open the primary Column of the Row and navigate to the Design tab. Enlarge the Format choice staff and assign a 20px Vertical Hole.

Whilst within the Design tab, extend the Spacing choice staff and upload 25px Padding on all 4 aspects.

Within the Border choice staff, upload a 1px Proper Border to the Column.

Configure The 2d Column
Open the second one Column within the Row. Move to the Design tab, extend the Spacing choice staff, and upload 20px Padding on all 4 aspects.

Upload A Nested Row
With the Gaps, Borders, and Spacing set, upload a Nested Row to the second one Column. Click on the black + icon and choose a single-column Row.
Within the new Row’s Design tab, extend the Format choice staff and assign a 20px Horizontal and Vertical Hole. Additionally permit Wrap beneath Format Wrapping. This may stay the spacing constant and make allowance pieces to float to the following line as soon as the loop runs out of to be had area.

Subsequent, click on to edit the Column. Within the Content material tab, extend the Meta choice staff and upload Listings because the Component Label. This may assist you to simply assign a Loop Goal after we construct the Put up Filter out shape in your next step.

Subsequent, cross to the Design tab. Open the Format choice staff and set the Vertical Hole to 0px.

Within the Sizing choice staff, set the Column Elegance to 1/2.

Finally, extend the Border choice staff. Assign a 10px Border Radius, 1px Border Width, and input a Border Colour for the Column.

Permit The Loop Builder
With the Column’s construction set, your next step is to permit the Loop Builder. Whilst within the Column, return to the Content material tab and extend the Loop choice staff. Toggle Loop Component on.

Go away the Question Sort set to Put up Sort, however take away the default Posts beneath Put up Sort. As an alternative, choose the Listings submit sort we created within the earlier step.
Scroll to show the Order and Posts According to Web page fields. Set Order to Ascending and Posts According to Web page to 4. This atmosphere controls what number of listings seem in keeping with web page. As a result of we created 12 pattern listings, upload a Pagination module and goal this loop if you need guests to get admission to the rest effects.

Upload Modules To The Loop
Now that the Loop Builder is enabled, we will be able to get started including modules to the structure.
Insert A Module Crew
Get started through including a Module Crew to the Column. Throughout the Crew, upload an Icon module.
Select an Data Icon within the Content material tab.

Within the Icon’s Design tab, set an Icon Dimension and Icon Colour.

Whilst within the Design tab, extend the Sizing choice staff. Set Alignment to Finish.

In the end, upload a Tooltip module underneath the Icon. Within the Content material tab, upload a Background Colour.

Within the Tooltip’s Design tab, extend the Tooltip choice staff and set Display Tooltip On to Click on. Set the Tooltip Place as proven within the screenshot beneath. Whilst within the Design tab, modify Spacing, Border, and every other design settings as wanted.

Now, open the Crew’s Design tab. Enlarge the Sizing choice staff and assign an Side Ratio of 3 through 2.

Subsequent, extend the Spacing choice staff and assign 15px Padding on all 4 aspects.

Nonetheless inside the Crew settings, navigate to the Content material tab. Enlarge the Background choice staff and tab over to assign a Background Symbol. Hover simply above the Background Symbol box to show the Insert Dynamic Content material icon.

When the listing of dynamic content material choices seems, make a choice Loop Featured Symbol. Divi 5 will load the Featured Symbol from each and every of your Listings posts.

Upload A 2d Module Crew
With the primary Module Crew styled, we’ll upload some other at once underneath it. Throughout the Crew, cross to the Design tab and extend the Format choice staff. Set the Vertical Hole to 5px.

Subsequent, extend the Spacing choice staff and upload 25px Padding on all 4 aspects.

Click on into the Crew’s Content material tab and extend the Background choice staff. Assign a Background Colour.

Now, extend the Components choice staff and upload two Heading modules and a Textual content module to the Crew. Taste them as desired.

Upload some other Module Crew to the Column, nest 3 Textual content modules inside of it, and magnificence them as desired. Within the Crew’s Design tab, extend the Format choice staff and set Format Course to Row. Follow 5px to the Horizontal Hole and Vertical Hole fields.

Upload two extra modules to the Column, together with a Textual content module and some other Module Crew. Taste the Textual content module as desired.

Within the newly added Module Crew settings, cross to the Design tab and extend the Format choice staff. Set Format Course to Row, Justify Content material to House Between, and Align Pieces to Middle.

Throughout the Module Crew, upload a Textual content and Button module and magnificence them as desired.

Hyperlink The Customized Fields
Now, we wish to attach the customized fields we created to the modules within the loop Column. Get started through deciding on the primary Heading module we added within the ultimate step. Within the Content material tab, extend the Textual content choice staff and hover subsequent to the Heading box to show the Insert Dynamic Content material icon. Select Loop Put up Customized Box from the to be had choices.

When the modal seems, click on Input Customized Meta Key within the Make a selection Customized Box dropdown menu.

When the choices seem, make a choice the Value customized box.

In the end, click on the Follow button to assign the sector to the module.

Repeat those steps to assign the rest dynamic content material to the corresponding modules. For the second one Heading module, make a choice Loop Put up Name. For the Textual content module, make a choice Loop Excerpt.
For the Module Crew with 3 Textual content modules, assign the Bedrooms customized box to the primary Textual content module and upload a separator within the After box.

Use the Bogs customized box for the second one Textual content module and Sq. Pictures for the 1/3.

For the standalone Textual content module, use the Facilities customized box.

Within the ultimate Module Crew, assign the Agent customized box to the Textual content module.

For the Button module, upload the button textual content and assign Loop Hyperlink to the Button Hyperlink URL within the Hyperlink choice staff.

For the general customized box, use the Layers Panel to find the Tooltip module. Within the Content material tab, assign the Tooltip Textual content customized box to the Frame.

Create The Filterable Seek With The Put up Filter out Module
With the listings loop waiting to move, the general step is to provide guests keep an eye on over what they see. We’ll upload a Put up Filter out module that allows them to seek through key phrase, make a choice a belongings sort, clear out through bedrooms and loos, choose an amenity, and practice or reset their possible choices.
Upload The Put up Filter out Module
Position a Put up Filter out module within the left Column of the Row. This module serves as the shape wrapper that comprises all of the particular person Put up Filter out Pieces.

As soon as added, navigate to the Content material tab of the Put up Filter out module. Enlarge the Goal choice staff and choose the Listings loop we created within the ultimate step.

Enlarge the Components choice staff to view and upload extra fields to the module. By means of default, the Put up Filter out module features a Seek box, a Class clear out, and Reset and Follow buttons. Those are the Put up Filter out Pieces.

Assign The Taxonomy And Customized Fields
Get started through enhancing the Seek Put up Filter out Merchandise. Stay Box Sort set to Textual content, then configure the sector to question the submit name and the Town customized box. This may permit guests to look through the valuables deal with or town.
Subsequent, click on to edit the Class Put up Filter out Merchandise. Enlarge the Box choice staff and choose Radio because the Box Sort. Within the Box Possibility dropdown, choose the Belongings Sorts taxonomy we created in ACF. The Box Label will populate robotically, however you’ll trade it to no matter you prefer.

We’ll upload 3 new fields to the Put up Filter out module. In the principle Put up Filter out module’s Content material tab, extend the Components choice staff and click on + Upload Component. Select Put up Filter out Merchandise from the to be had choices.
Click on and drag the brand new box to put it at once beneath the Belongings Sort box.
Click on to edit the brand new box. Exchange Box Sort to Radio. For Box Price, choose Facilities.
Now, reproduction the brand new Put up Filter out Merchandise two times. Exchange Box Possibility to Bedrooms for one box and Bogs for the opposite.
Taste The Filter out Fields
Now that each one fields are in position, we wish to genre them. In the principle Put up Filter out module settings, cross to the Design tab. Enlarge the Format choice staff and set the Vertical Hole to 25px.

Subsequent, extend the Box choice staff. Enlarge the Enter Textual content staff, make a choice a box font, font weight, textual content measurement, and textual content colour.

Now, open the Label Textual content staff. Assign a label font, label font weight, label textual content measurement, label textual content colour, and label line top.

Upload kinds for the Placeholder Textual content, together with font, font weight, textual content measurement, textual content colour, and line top.

Set a Background Colour and assign Border Types as desired.
Taste The Radio Choices
Enlarge the Radio Choices staff within the Design tab. Taste the Enter Textual content through assigning its font, textual content measurement, textual content colour, and line top.

Very similar to the Fields staff, assign a Background Colour for the Radio Choices along side Border Types.

Upload Button Types
The ultimate step is styling the Follow and Reset buttons within the Put up Filter out module. In the principle Put up Filter out settings, extend the Button choice staff within the Design tab. Set a Background Colour and Border Types first.
Subsequent, extend the Textual content choices inside the Button kinds. Assign a Button Font, Textual content Dimension, Textual content Colour, and Capitalization, then make every other essential styling changes.

Finally, extend the Spacing staff inside the Button kinds. Assign peak and backside Padding.

Make Responsive Changes
With the Put up Filter out shape styled, we wish to make sure that the structure appears excellent at each and every display screen measurement. The use of Divi 5’s Customizable Responsive Breakpoints, transfer to the Pill view. Get started through adjusting the Vertical Hole on the Segment stage to scale back the volume of area between Rows.

Paintings your manner via Rows and Columns, making spacing changes as essential.
If you want to regulate Column sizes at smaller breakpoints, use Construction Templates to resize them. Within the Row settings, open the Content material tab, extend the Components choice staff, and click on Follow Construction Template. From there, choose probably the most predefined Row templates.
Repeat those steps for the Telephone breakpoint, making any essential tweaks to spacing or row construction.
Preview The Put up Filter out Shape On The Entrance Finish
The overall step is to preview the finished web page at the entrance finish. Take a look at each and every clear out in my opinion through in search of an deal with or town, deciding on a belongings sort, opting for bed room and toilet counts, and deciding on an amenity. Then, check the fields together and use the Follow and Reset buttons to verify that the loop updates accurately. Whenever you’ve verified that the filters and loop paintings in combination easily, your filterable actual property listings web page is waiting.
Obtain The Recordsdata
To provide you with a transparent image of ways the completed structure works, we’ve created a ready-to-use JSON report of all the design constructed on this submit.
To make use of it, navigate to Divi > Divi Library and click on the Import & Export button.

Click on the Import tab, connect the Actual Property Listings Loop & Filter out.JSON report out of your pc, and click on Import Divi Builder Layouts.

Subsequent, create a new web page within the Visible Builder. When the Builder so much, click on the blue + icon so as to add a brand new Segment.

Make a selection the Upload From Library tab, make a choice the structure, and click on Use This Segment.
For the loop and filters to populate accurately, make sure to have already finished the prerequisite steps, together with:
- Developing the Listings customized submit sort.
- Including the Belongings Sorts taxonomy.
- Putting in place the ACF Box Crew with all of the required customized fields.
- Publishing actual property Checklist posts.
With out printed checklist information, the loop will stay empty. As soon as the ones pieces are in position, the imported structure will show and clear out your homes as proven on this submit.
Get started Construction Your Filterable Listings Nowadays
Combining Divi 5‘s Loop Builder with the Put up Filter out module from the Loop Filter out Modules will give you keep an eye on over the checklist design and front-end seek revel in. You’ll create totally customized belongings playing cards and let guests seek and clear out them with out depending on a separate third-party filtering plugin.
The similar means works simply as smartly for any directory-style web page, together with task forums, tournament calendars, crew directories, product catalogs, and extra. Experiment with other box varieties, layouts, and queries to look how versatile the gadget in reality is.
Give it a take a look at in Divi 5 and tell us the way it works for you. Percentage your questions or comments within the feedback beneath or on our social media channels. We’d love to look what you construct!
The submit How To Construct A Filterable Actual Property Listings With Divi 5 seemed first on Sublime Issues Weblog.
WordPress Web Design

