How To Construct A Filterable Actual Property Listings With Divi 5

by | Sep 10, 2026 | Etcetera | 0 comments

Exact belongings internet websites live or die thru their search experience. Visitors expect to enter an maintain or the town, select a assets type, make a selection the collection of bedrooms and lavatories, choose an amenity, and see matching listings without leaving the internet web page or wrestling with a clunky filtering plugin.

In this publish, we’ll assemble that kind of filterable listings internet web page using Divi 5 and Complex Customized Fields (ACF). We’ll combine two Divi 5 choices, the Loop Builder and the Post Filter module introduced with the Loop Filter out Modules, to create a completely custom designed assets grid that visitors can search and filter out on the front end. ACF will handle the custom designed fields, at the side of worth, the town, bedrooms, toilets, sq. footage, amenities, and agent name, that power the loop enjoying playing cards and filter out form.

By way of the end, you’ll have a sophisticated exact belongings construction you’ll use on your next problem, in conjunction with a downloadable JSON file of the completed design.

Let’s get started.

What Is The Loop Builder In Divi 5?

The Loop Builder is among the most flexible choices in Divi 5. It allows you to turn any Divi part proper right into a dynamic loop of content material subject material pulled from your internet web page’s database. That content material subject material can be posts, custom designed publish types, words (categories or tags), or consumers.

In simple words, you design one products exactly one of the best ways you want it to look, tell Divi which content material subject material to cycle by means of, and the builder automatically repeats that design for each matching products.

Proper right here’s how it works:

1. Design The Template

Assemble a single loop products using any mix of Divi modules and design settings. You aren’t limited to a premade Blog or Portfolio module, so that you’ve were given complete creative freedom.

Divi 5 Loop Builder

2. Allow Looping And Configure The Query

Turn looping on for the container that holds your design. Then set the query possible choices: select the publish type (or words/consumers), filter out thru categories or tags, include or exclude explicit items, set the order, decide what choice of items appear consistent with internet web page, follow an offset, or create custom designed meta queries.

enabling the loop builder

3. Insert Dynamic Content material subject material

Alternate static text and photographs with dynamic content material subject material from the loop, at the side of the publish title, Featured Image, excerpt, custom designed fields, and further. Each and every repeated products automatically presentations its non-public data.

using dynamic content in Divi 5

Given that Loop Builder works with any Divi part, you’ve were given whole keep watch over over the design of each repeated products. It is helping custom designed publish types, ACF fields, WooCommerce products, taxonomy words, and consumers. This makes it suitable for quite a lot of kinds of dynamic content material subject material.

Why It’s Easiest For Exact Assets Listings

For a real belongings website, you’ll design a custom designed assets card that draws inside of the appropriate fields you need, then have Divi automatically generate a responsive grid of those enjoying playing cards. This will provide you with keep watch over over the construction while protecting it connected to the tick list data.

What Are The Loop Filter Modules?

The Loop Filter Modules add front-end controls to the Loop Builder. They let visitors search, filter out, and kind looped content material subject material without leaving the internet web page or relying on a separate third-party filtering plugin.

The basis is the Post Filter module. It serves as a type wrapper with quite a lot of Post Filter Products modules that create the controls visitors engage with.

post filter module in Divi 5

There are a variety of field types associated with the Post Filter module, at the side of:

  • Text: A search field that queries publish titles, content material subject material, or made up our minds on custom designed fields. We’ll use it to let visitors search thru maintain or the town.
  • Select: A dropdown menu that draws taxonomies or meta values.
  • Radio: An inventory of single-choice buttons.
  • Checkbox: Multi-select possible choices that let consumers combine filters.
  • Order / Order By way of: Controls that let visitors select how the consequences are looked after.
  • Buttons: Submit and Reset buttons that follow or clear the filters.

various field types in Divi 5

Each time you connect the Post Filter module to a selected Loop Purpose, the client’s submitted conceivable possible choices change the query that powers the loop. The matching results then refresh without requiring the client to depart the internet web page.

setting a loop target

Divi 5 moreover includes a Tooltip module. You’ll nest it within any module, at the side of an products within a loop. Hovering over or clicking the mother or father part reveals the Tooltip, making it useful for the additional information eternally integrated on assets tick list enjoying playing cards.

tooltip module in Divi 5

Must haves & Setup

Quicker than we commence construction the listings internet web page, we wish a cast foundation of information. Proper right here’s the entire thing you’ll prepare first.

Create A Custom designed Post Kind

The usage of Complicated Custom designed Fields, test in a brand spanking new publish type referred to as Listings. This helps to keep your house data break away commonplace blog posts and will provide you with keep watch over over its admin interface.

See also  Easy methods to Make an AI Making a song Voice in 2023 (Instructional)

creating a post type in ACF

Add Taxonomies And Custom designed Fields

Nevertheless within ACF, create a Taxonomy for Assets Types. Ensure that the Listings Post Kind is selected forward of saving. This may occasionally power the Assets Kind keep watch over throughout the Post Filter form.

creating a taxonomy in ACF

Next, create a brand spanking new Field Staff and name it Exact Assets Listings.

create a new Field Group in ACF

From there, you’ll create the following Custom designed Fields:

  • Tooltip Text (Text): That’s the content material subject material that may appear throughout the data tooltip.
  • The town (Text): This stores the website visitors can search alongside the tick list maintain.
  • Price (Text): This may occasionally hang the tick list’s worth throughout the loop card.
  • Bedrooms (Radio Button): This may occasionally display the collection of bedrooms (2-5) on the tick list card and serve as a Radio field throughout the Post Filter module.
  • Toilets (Radio Button): Shows the collection of toilets (2-5) throughout the card and Post Filter module.
  • Amenities (Radio Button): Stores one amenity price, an identical to Garage, Pool, Waterfront, or New Building, for the card and filter out.
  • Agent (Text): Shows the tick list agent’s name throughout the tick list card.
  • Sq. Footage (Text): Shows the tick list’s general sq. footage on the tick list card.

ACF custom fields

Create Trend Listings

Add quite a lot of listings (we’ll add 12) using your new custom designed publish type.

real estate listings

Fill throughout the Title using the tick list’s maintain, add the Featured Image, complete the entire custom designed fields, and assign a Assets Kind. The additional a large number of your trend data is, the simpler you’ll be capable to test the filters later.

fill out property listing

Create A New Internet web page

Inside the WordPress admin dashboard, create a new internet web page, name it Listings, and open it with the Visual Builder. That’s the position we’ll assemble the entire filterable exact belongings construction.

create a new page in Divi 5

Once the ones 4 steps are complete, you’re ready to start out out designing the loop and the filter out form.

Assemble The Exact Assets Listings Loop

Now that the guidelines foundation is in place, it’s time to design the center of the internet web page: the listings loop itself. In this phase, we’ll create a clean, completely custom designed assets card and turn it proper right into a dynamic loop that draws in exact tick list data. By way of the end, you’ll have a responsive grid that looks like the finished construction underneath, ready to be filtered and searched throughout the next steps.

real estate listings layout

Create The Foundation

Get began thru together with a 1/4 + 3/4 Column Row to the internet web page.

add a new row in the Visual builder

Inside the Row’s Design tab, prolong the Layout desire workforce and assign a 0px Horizontal Hollow and a 30px Vertical Hollow.

row layout settings

Next, prolong the Border desire workforce. Beneath Border Varieties, make a selection the Highest Border tab, assign a 1px Highest Border Width, add a Highest Border Color, and set the Highest Border Style to Dashed.

row border styles

Configure The First Column

Now, open the main Column of the Row and navigate to the Design tab. Amplify the Layout desire workforce and assign a 20px Vertical Hollow.

first column vertical gap

While throughout the Design tab, prolong the Spacing desire workforce and add 25px Padding on all 4 facets.

first column padding

Inside the Border desire workforce, add a 1px Correct Border to the Column.

first column border settings

Configure The 2nd Column

Open the second Column throughout the Row. Transfer to the Design tab, prolong the Spacing desire workforce, and add 20px Padding on all 4 facets.

second column padding

Add A Nested Row

With the Gaps, Borders, and Spacing set, add a Nested Row to the second Column. Click on at the black + icon and make a selection a single-column Row.

Inside the new Row’s Design tab, prolong the Layout desire workforce and assign a 20px Horizontal and Vertical Hollow. Moreover allow Wrap underneath Layout Wrapping. This may occasionally keep the spacing consistent and allow items to go with the flow to the next line as quickly because the loop runs out of available house.

nested row settings

Next, click on directly to edit the Column. Inside the Content material subject material tab, prolong the Meta desire workforce and add Listings since the Part Label. This may occasionally allow you to merely assign a Loop Purpose once we assemble the Post Filter form in the next move.

adding an element label in Divi 5

Next, pass to the Design tab. Open the Layout desire workforce and set the Vertical Hollow to 0px.

setting gaps for nested rows in Divi 5

Inside the Sizing desire workforce, set the Column Magnificence to 1/2.

assigning column class in Divi 5

In any case, prolong the Border desire workforce. Assign a 10px Border Radius, 1px Border Width, and enter a Border Color for the Column.

loop column border styles

Allow The Loop Builder

With the Column’s development set, the next move is to allow the Loop Builder. While throughout the Column, go back to the Content material subject material tab and prolong the Loop desire workforce. Toggle Loop Part on.

enable looping in Divi 5

Cross away the Query Kind set to Post Kind, on the other hand remove the default Posts underneath Post Kind. As a substitute, make a selection the Listings publish type we created throughout the previous step.

Scroll to turn the Order and Posts In keeping with Internet web page fields. Set Order to Ascending and Posts In keeping with Internet web page to 4. This setting controls what choice of listings appear consistent with internet web page. Because of we created 12 trend listings, add a Pagination module and objective this loop if you want visitors to get right of entry to the remainder results.

setting loop order

Add Modules To The Loop

Now that the Loop Builder is enabled, we can get began together with modules to the construction.

Insert A Module Staff

Get began thru together with a Module Staff to the Column. All over the Staff, add an Icon module.

Make a choice an Information Icon throughout the Content material subject material tab.

add an info icon

Inside the Icon’s Design tab, set an Icon Size and Icon Color.

styling an icon module

While throughout the Design tab, prolong the Sizing desire workforce. Set Alignment to End.

icon alignment

After all, add a Tooltip module beneath the Icon. Inside the Content material subject material tab, add a Background Color.

tooltip background color

Inside the Tooltip’s Design tab, prolong the Tooltip desire workforce and set Show Tooltip On to Click on on. Set the Tooltip Position as confirmed throughout the screenshot underneath. While throughout the Design tab, adjust Spacing, Border, and each and every different design settings as sought after.

tooltip settings

Now, open the Staff’s Design tab. Amplify the Sizing desire workforce and assign an Facet Ratio of 3 thru 2.

group aspect ratio

Next, prolong the Spacing desire workforce and assign 15px Padding on all 4 facets.

module group padding

Nevertheless within the Staff settings, navigate to the Content material subject material tab. Amplify the Background desire workforce and tab over to assign a Background Image. Hover merely above the Background Image field to turn the Insert Dynamic Content material subject material icon.

See also  How your plugin can customise the WordPress Command Palette

insert dynamic content

When the record of dynamic content material subject material possible choices turns out, select Loop Featured Image. Divi 5 will load the Featured Image from each of your Listings posts.

loop featured image

Add A 2nd Module Staff

With the main Module Staff styled, we’ll add any other immediately beneath it. All over the Staff, pass to the Design tab and prolong the Layout desire workforce. Set the Vertical Hollow to 5px.

second module group gap

Next, prolong the Spacing desire workforce and add 25px Padding on all 4 facets.

module group padding

Click on on into the Staff’s Content material subject material tab and prolong the Background desire workforce. Assign a Background Color.

group background color

Now, prolong the Elements desire workforce and add two Heading modules and a Text module to the Staff. Style them as desired.

adding modules in Divi 5

Add any other Module Staff to the Column, nest 3 Text modules within it, and elegance them as desired. Inside the Staff’s Design tab, prolong the Layout desire workforce and set Layout Route to Row. Observe 5px to the Horizontal Hollow and Vertical Hollow fields.

group flex settings

Add two additional modules to the Column, at the side of a Text module and a few different Module Staff. Style the Text module as desired.

add remaining modules

Inside the newly added Module Staff settings, pass to the Design tab and prolong the Layout desire workforce. Set Layout Route to Row, Justify Content material subject material to Space Between, and Align Items to Heart.

group flexbox settings

All over the Module Staff, add a Text and Button module and elegance them as desired.

final module group styling

Link The Custom designed Fields

Now, we want to connect the custom designed fields we created to the modules throughout the loop Column. Get began thru deciding at the number one Heading module we added throughout the final step. Inside the Content material subject material tab, prolong the Text desire workforce and hover next to the Heading field to turn the Insert Dynamic Content material subject material icon. Make a choice Loop Post Custom designed Field from the available possible choices.

loop post custom field

When the modal turns out, click on on Enter Custom designed Meta Key throughout the Select Custom designed Field dropdown menu.

select custom field

When the selections appear, select the Price custom designed field.

using a custom field in Divi 5

After all, click on at the Observe button to assign the field to the module.

applying a custom field in Divi 5

Repeat the ones steps to assign the remainder dynamic content material subject material to the corresponding modules. For the second Heading module, select Loop Post Title. For the Text module, select Loop Excerpt.

For the Module Staff with 3 Text modules, assign the Bedrooms custom designed field to the main Text module and add a separator throughout the After field.

bedrooms custom field

Use the Toilets custom designed field for the second Text module and Sq. Footage for the 1/3.

group custom fields

For the standalone Text module, use the Amenities custom designed field.

amenities custom field

Inside the final Module Staff, assign the Agent custom designed field to the Text module.

agent custom field

For the Button module, add the button text and assign Loop Link to the Button Link URL throughout the Link desire workforce.

Loop Link custom field

For the overall custom designed field, use the Layers Panel to search out the Tooltip module. Inside the Content material subject material tab, assign the Tooltip Text custom designed field to the Body.

tooltip custom field

Create The Filterable Search With The Post Filter Module

With the listings loop ready to transport, the overall step is to offer visitors keep watch over over what they see. We’ll add a Post Filter module that lets them search thru keyword, select a assets type, filter out thru bedrooms and lavatories, make a selection an amenity, and follow or reset their conceivable possible choices.

Add The Post Filter Module

Place a Post Filter module throughout the left Column of the Row. This module serves as the form wrapper that accommodates the entire explicit particular person Post Filter Items.

add the post filter module

Once added, navigate to the Content material subject material tab of the Post Filter module. Amplify the Purpose desire workforce and make a selection the Listings loop we created throughout the final step.

select the listings loop

Amplify the Elements desire workforce to view and add additional fields to the module. By way of default, the Post Filter module includes a Search field, a Magnificence filter out, and Reset and Observe buttons. The ones are the Post Filter Items.

post filter items

Assign The Taxonomy And Custom designed Fields

Get began thru bettering the Search Post Filter Products. Keep Field Kind set to Text, then configure the field to query the publish title and the The town custom designed field. This may occasionally allow visitors to appear throughout the valuables maintain or the town.

Next, click on directly to edit the Magnificence Post Filter Products. Amplify the Field desire workforce and make a selection Radio since the Field Kind. Inside the Field Chance dropdown, make a selection the Assets Types taxonomy we created in ACF. The Field Label will populate automatically, on the other hand you’ll business it to regardless of you favor.

map property type select field

We’ll add 3 new fields to the Post Filter module. In the primary Post Filter module’s Content material subject material tab, prolong the Elements desire workforce and click on on + Add Part. Make a choice Post Filter Products from the available possible choices.

Click on on and drag the new field to place it immediately underneath the Assets Kind field.

Click on directly to edit the new field. Trade Field Kind to Radio. For Field Value, make a selection Amenities.

Now, copy the new Post Filter Products two occasions. Trade Field Chance to Bedrooms for one field and Toilets for the other.

Style The Filter Fields

Now that all fields are in place, we want to style them. In the primary Post Filter module settings, pass to the Design tab. Amplify the Layout desire workforce and set the Vertical Hollow to 25px.

post filter module vertical gap

Next, prolong the Field desire workforce. Amplify the Input Text workforce, select a field font, font weight, text dimension, and text color.

input text styles

Now, open the Label Text workforce. Assign a label font, label font weight, label text dimension, label text color, and label line peak.

label text styles

Add types for the Placeholder Text, at the side of font, font weight, text dimension, text color, and line peak.

placeholder text styles

Set a Background Color and assign Border Varieties as desired.

Style The Radio Alternatives

Amplify the Radio Alternatives workforce throughout the Design tab. Style the Input Text thru assigning its font, text dimension, text color, and line peak.

radio options input text styles

Similar to the Fields workforce, assign a Background Color for the Radio Alternatives in conjunction with Border Varieties.

radio border styles

Add Button Varieties

Without equal step is styling the Observe and Reset buttons throughout the Post Filter module. In the primary Post Filter settings, prolong the Button desire workforce throughout the Design tab. Set a Background Color and Border Varieties first.

See also  Wix Evaluation: Options, Pricing, Getting Began, & Extra (2024)

Next, prolong the Text possible choices within the Button types. Assign a Button Font, Text Size, Text Color, and Capitalization, then make each and every different crucial styling adjustments.

button text styles

In any case, prolong the Spacing workforce within the Button types. Assign height and bottom Padding.

button spacing styles

Make Responsive Adjustments

With the Post Filter form styled, we want to be sure that the construction seems very good at each computer screen dimension. The usage of Divi 5’s Customizable Responsive Breakpoints, switch to the Tablet view. Get began thru adjusting the Vertical Hollow at the Phase level to reduce the amount of house between Rows.

section vertical gap

Art work your method by means of Rows and Columns, making spacing adjustments as crucial.

If you wish to keep watch over Column sizes at smaller breakpoints, use Building Templates to resize them. Inside the Row settings, open the Content material subject material tab, prolong the Elements desire workforce, and click on on Observe Building Template. From there, make a selection one of the vital predefined Row templates.

Repeat the ones steps for the Phone breakpoint, making any crucial tweaks to spacing or row development.

Preview The Post Filter Form On The Front End

The entire step is to preview the completed internet web page on the front end. Check out each filter out for my part thru on the lookout for an maintain or the town, settling on a assets type, choosing mattress room and bathroom counts, and settling on an amenity. Then, test the fields in combination and use the Observe and Reset buttons to make sure that the loop updates appropriately. Each time you’ve verified that the filters and loop artwork together simply, your filterable exact belongings listings internet web page is ready.

Download The Information

To come up with a clear symbol of the way the finished construction works, we’ve created a ready-to-use JSON file of the entire design built in this publish.

To use it, navigate to Divi > Divi Library and click on at the Import & Export button.

Divi Library import

Click on at the Import tab, attach the Exact Assets Listings Loop & Filter.JSON file from your laptop, and click on on Import Divi Builder Layouts.

import divi layouts

Next, create a new internet web page throughout the Visual Builder. When the Builder such a lot, click on at the blue + icon as a way to upload a brand spanking new Phase.

add new section to Divi

Select the Add From Library tab, select the construction, and click on on Use This Phase.

For the loop and filters to populate appropriately, you should definitely have already completed the prerequisite steps, at the side of:

  1. Growing the Listings custom designed publish type.
  2. Together with the Assets Types taxonomy.
  3. Putting in the ACF Field Staff with the entire required custom designed fields.
  4. Publishing exact belongings Tick list posts.

Without published tick list data, the loop will keep empty. Once those items are in place, the imported construction will display and filter out your properties as confirmed in this publish.

Get began Building Your Filterable Listings In this day and age

Combining Divi 5‘s Loop Builder with the Post Filter module from the Loop Filter out Modules will provide you with keep watch over over the tick list design and front-end search experience. You’ll create completely custom designed assets enjoying playing cards and let visitors search and filter out them without relying on a separate third-party filtering plugin.

The identical method works merely as well for any directory-style internet web page, at the side of job boards, match calendars, group directories, product catalogs, and further. Experiment with different field types, layouts, and queries to appear how flexible the system if truth be told is.

Give it a check out in Divi 5 and let us know how it works for you. Share your questions or feedback throughout the comments underneath or on our social media channels. We’d love to appear what you assemble!

The publish How To Construct A Filterable Actual Property Listings With Divi 5 gave the impression first on Sublime Issues Weblog.

WordPress Web Design

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!