Divi 4: Create Single Template
With the Divi Theme Builder you can design the detail view of every property individually. WP-ImmoMakler provides specialized Divi modules for this purpose, covering all aspects of a property — from the image gallery and data sheets to the contact details.
Requirements
Section titled “Requirements”- Divi Theme or Divi Builder Plugin (version 4.x)
- WP-ImmoMakler (any edition)
Option A: 1-Click HTML version (quick start)
Section titled “Option A: 1-Click HTML version (quick start)”The one-click module displays WP-ImmoMakler’s proven detail view — including the gallery, data, map, contact form, and everything else that belongs to a complete detail page.
-
Open the Theme Builder
Navigate to Divi → Theme Builder in your website’s backend (wp-admin).
-
Create a new template
Click Add New Template and select Create New Template. In the Template Settings panel on the Use On tab, scroll to the Properties section and enable All Properties.
Click Create Template.
You create a separate detail view for development projects or reference properties as an additional template: in the Properties section, enable Projects (WP-ImmoMakler) or Reference properties (WP-ImmoMakler) instead of All Properties. For these properties the template takes precedence over the one for all properties; a template for individual properties still wins. The same entries are also available on the exclusion tab, to take projects or reference properties out of a template.
-
Create the body layout
Click Add Custom Body in the new template and select Create Custom Body.
-
Add a row and insert the module
The Visual Builder opens. Click +, select the single-column layout, then search for the module WP-ImmoMakler 1-Click: Detailed view.
-
Save and test
Save the template and open any property on the frontend.
Option B: Custom template
Section titled “Option B: Custom template”For full design freedom, build the detail view from individual WP-ImmoMakler modules. Each module represents a specific aspect of the property and can be freely positioned and styled.
-
Open the Theme Builder
Navigate to Divi → Theme Builder in your website’s backend (wp-admin).
-
Create a new template
Click Add New Template and select All Properties as the assignment under Properties.
-
Create the body layout
Click Add Custom Body and select Create Custom Body. Create the desired page structure with rows and columns — for example, a main area with gallery and data on the left, contact details on the right.
-
Add the gallery
Add the WP-ImmoMakler Image Gallery module: the full image gallery with slideshow and static mode, lightbox, and all Customizer options configurable per module instance.
The Image Gallery module provides the same options you know from the Customizer — on a per-module-instance basis. This is useful when a template needs a different gallery form than the Customizer default (e.g. a cinemascope hero image in a premium template while the standard template uses the usual slideshow), or when multiple galleries with different settings should appear on one page (photos above as a slideshow, floor plans further down as a static grid).
See Configure gallery below for a detailed description of the options.
-
Add property data
Add the desired data modules:
Module Description WP-ImmoMakler data table Data table as a definition list with configurable fields, column width, row dividers, and alternating background colours WP-ImmoMakler area list Only the property’s areas, with the same settings as the data table WP-ImmoMakler price list Only the property’s prices, with the same settings as the data table WP-ImmoMakler Key data text list Key data in one row, separated by a separator. Under Fields you choose As in the list view or Custom selection; for your own selection, add a Field entry per field and change the order by drag and drop. You set the separator and its color in the Design tab WP-ImmoMakler Amenities/Features The features as a list or side by side (Inline layout), with an arrow, tick, dot or star as the icon in a selectable colour and size WP-ImmoMakler key detail icon list Key details such as living area, rooms and parking spaces side by side, each with an icon. In the Content tab you choose the fields, in the Design tab spacing, colour, size and stroke width of the icons as well as the font WP-ImmoMakler Location Postcode and city, optionally with property type, or a line of your own made up of up to four parts such as district and city. Set the icon and icon colour in the Design tab WP-ImmoMakler data boxes Key figures as a responsive CSS grid with configurable box width and spacing WP-ImmoMakler Energy Performance Certificate Energy certificate data with regional support (Germany, Austria, Spain, Italy) and energy diagram -
Insert description texts
Use the WP-ImmoMakler description text module. It offers extensive options:
- Selection of the text field (short description, property description, features, location, additional information)
- Automatic HTML cleanup and typographic corrections
- URL and phone number detection
- Bullet point conversion to lists
- Responsive column layout (desktop, tablet, mobile)
- “Show more/Show less” toggle with configurable height
- Custom heading with selectable HTML tag
-
Add the map
Add the WP-ImmoMakler location map module. It displays the property’s location with the map provider you selected in the Customizer under WP-ImmoMakler → Maps. The map height is configurable.
-
Insert contact details
The WP-ImmoMakler contact details module displays the contact person’s information — with photo, name, phone, email, etc. You can show/hide individual labels and adjust the spacing between photo and data.
If you want to place the photo and the form separately, use dedicated modules for them:
Module Description WP-ImmoMakler contact person photo Only the contact person’s photo, with aspect ratio, spacing, corner radius and border in the Design tab under Photo style WP-ImmoMakler contact form The contact form with spam protection; in the Design tab under Colors you set the button’s background and text colour and the link colour -
Videos and virtual tours
Module Description WP-ImmoMakler Videos Embedded YouTube/Vimeo videos WP-ImmoMakler Virtual Tour PLUS 360-degree tours with configurable aspect ratio WP-ImmoMakler downloads and links The property’s documents and links as a list. You choose the icons in the Content tab under Icons, separately for downloads and links, from Divi’s icons or Font Awesome -
Save and test
Save the template in the Theme Builder and open a property on the frontend.
Available single modules
Section titled “Available single modules”| Module | Description |
|---|---|
| WP-ImmoMakler 1-Click: Detailed view | Complete detail view with WP-ImmoMakler HTML template |
| WP-ImmoMakler contact details | Contact person with photo and data |
| WP-ImmoMakler contact person photo | Only the contact person’s photo |
| WP-ImmoMakler contact form | Contact form with spam protection |
| WP-ImmoMakler description text | Free-text description fields with formatting |
| WP-ImmoMakler data table | Data table as a definition list |
| WP-ImmoMakler area list | Only the areas as a definition list |
| WP-ImmoMakler price list | Only the prices as a definition list |
| WP-ImmoMakler Key data text list | Key data in one row |
| WP-ImmoMakler Amenities/Features | Features with icon |
| WP-ImmoMakler key detail icon list | Key details side by side with icons |
| WP-ImmoMakler Location | Postcode and city or parts of your own |
| WP-ImmoMakler data boxes | Key figures as a responsive grid |
| WP-ImmoMakler Energy Performance Certificate | Energy certificate data with diagram |
| WP-ImmoMakler Image Gallery | Full image gallery with slideshow/static mode, all Customizer options per instance |
| WP-ImmoMakler location map | Map showing the property’s location |
| WP-ImmoMakler Videos | Embedded videos |
| WP-ImmoMakler downloads and links | The property’s documents and links |
| WP-ImmoMakler Virtual Tour PLUS | 360-degree tours |
Configure gallery
Section titled “Configure gallery”The WP-ImmoMakler Image Gallery module provides the same options per module instance as the Customizer’s Gallery section. An overview of the main groups:
| Area | Options |
|---|---|
| Image selection | All images, floor plans only, without floor plans |
| Gallery type | Slideshow (Swiper-based gallery with lightbox) or Static (image grid without slider, lightbox on click) |
| Slideshow layout | Vertical (thumbnail strip below), Horizontal (thumbnail strip right), Without thumbnails, Carousel |
| Static layout | Vertical (thumbnail strip below), Horizontal (thumbnail grid right), Without thumbnails, Grid (all images as equally sized tiles, no main image), Mosaic (blocks of 4 photos with alternating large and small tiles, no main image) |
| Transition effect | Slide (default), Fade or “Aus- und Einblenden” — see Image Gallery: Slideshow |
| Transition duration | 100–2000 ms (default 400 ms) |
| Autoplay | Automatic advancing with configurable second delay |
| Aspect ratios | Main and thumbnail images independently configurable (16:9, 3:2, 4:3, 1:1, Golden Ratio, 2:1, 21:9, 3:1, 32:9 and Original) |
| Crop position | Which part of a cropped photo stays visible: centre (default), top or bottom |
| Thumbnail size | 40–400 px width (controls number of simultaneously visible thumbnails) |
| Mobile thumbnails | Show or hide on devices ≤ 768 px |
| Carousel height | Pixel or viewport unit (px, vw, vh, svh, lvh, dvh) |
| Static grid | Rows and columns independently configurable per layout variant |
| Gallery height (static) | Automatic or fixed |
| More photos indicator | Counter overlay on the last thumbnail (+N) or button below the gallery (“Show all N photos”) |
| Hover animation (static) | None / Gentle zoom-in (default) / Brighten — visual feedback when hovering over images with the mouse |
| Grid options | Only in the “Grid” static layout: columns (maximum, 1–6), minimum tile width (below which a column drops automatically), tile aspect ratio, image fit (Crop for photos or Show in full for floor plans) and image title as caption. Combined with the “floor plans only” image selection, this produces a floor plans box like the WP-ImmoMakler skin’s |
| Mosaic options | Only in the “Mosaic” static layout: block aspect ratio, row height distribution (1:1, 2:1 or golden ratio) and limit number of images (4, 8, 12 or 16 images) |
| Spacing + rounding | Gap between images, border radius (each image individually or only gallery outer edges) |
| Navigation colour | Colour picker for arrow buttons and pagination dots (slideshow mode) |
Descriptions of the individual values can be found in the Customizer documentation for the slideshow and static gallery — the same terminology applies to the Divi module.
Using Dynamic Content
Section titled “Using Dynamic Content”In addition to the specialized modules, you can use Divi’s Dynamic Content in any standard module. WP-ImmoMakler registers fields in the WP-ImmoMakler group:
| Field | Description |
|---|---|
| Property title | Property title from the real estate software |
| Subtitle | Postcode, city, property type |
| Price | Formatted price |
| Short description | Brief description |
| Property description | Detailed description |
| Features/description | Features description |
| Location | Location description |
| Additional information | Supplementary information |
| Featured image of the property | Featured image of the property, for image modules and backgrounds |
| Link to the PDF print view PLUS | URL of the property’s PDF exposé, for example as the link of Divi’s Button module |
| First PDF attachment | URL of the first PDF attached to the property |
| First PDF attachment with “floor plan” in the title or file name | URL of the first PDF attachment whose title or file name contains “floor plan” |
| Link back to list view (to the property’s card) | For your own “Back to the overview” button: leads back to the list the visitor came from and scrolls there to the property’s card — even with a caching plugin |
| Link to the list of all similar properties PLUS | For a button under “Similar Properties”: leads to the property list with all properties that match this one |
The text fields support an optional icon display, individual prefix/suffix text, and (for description fields) automatic formatting.
Button for the PDF exposé
Section titled “Button for the PDF exposé”PLUS You do not need a separate module for a button that opens the property’s PDF exposé. Insert Divi’s Button module, open the Link section in the Content tab and, for the link URL, choose Link to the PDF print view from the WP-ImmoMakler group via the dynamic content icon. The PDF exposé must be enabled in the backend of your website (wp-admin) under WP-ImmoMakler → Settings → PDF print view.
Show modules only for certain properties
Section titled “Show modules only for certain properties”With Divi’s conditions you show a module only for matching properties, for example the floor plan gallery only for properties that have floor plans, or a note only for reference properties. Divi 4 does not accept conditions from plugins. WP-ImmoMakler therefore provides its checks as fields for Divi’s Custom Field condition. In the German translation of Divi 4 this condition is called Benutzerdefinierte Breite.
-
Open the conditions
Open the module’s settings and, in the Advanced tab, the Conditions section.
-
Add Custom Field
Add the Custom Field condition.
-
Choose the field
Choose the field from the list, for example
immomakler_has_floorplans. -
Choose the rule
Choose the rule: Has Any Value shows the module if the check is true, Has No Value if it is not. For categories choose Contains and enter the name of the term, for example
Buy.
| Field | Meaning |
|---|---|
immomakler_has_images, immomakler_has_floorplans, immomakler_has_videos, immomakler_has_downloads, immomakler_has_pdf, immomakler_has_links, immomakler_has_epass, immomakler_has_map, immomakler_has_contact, immomakler_has_contact_photo, immomakler_has_features … | The property has this content: images, floor plans, videos, documents, a PDF, links, an energy certificate, a map, a contact person, their photo, features. Also the description texts, for example immomakler_has_objektbeschreibung, and with WP-ImmoMakler Plus PLUS immomakler_has_virtual_tours |
immomakler_is_reference, immomakler_is_project |
The property is a reference property or a construction project respectively |
immomakler_terms_type, immomakler_terms_vermarktung, immomakler_terms_nutzungsart, immomakler_terms_status, immomakler_terms_location, immomakler_terms_feature, immomakler_terms_country |
The names of the property’s terms in this category (property type, marketing type, usage type, status, location, features, country), separated by commas |
immomakler_field_<field>, for example immomakler_field_kaufpreis, immomakler_field_contact_email_zentrale |
The value of a data field as the detail view shows it; empty if the detail view hides the field. contact_ stands for the contact person’s fields |
The list of fields shows the value of the preview property next to each field. When you switch to Divi 5 the conditions are kept; there, Divi 5 additionally offers the same checks as conditions of their own.
Preview and testing
Section titled “Preview and testing”Because Divi’s Theme Builder does not offer a live preview mode with real property data, it is best to test the template directly on the frontend:
-
Save the template
Save the template in the Theme Builder.
-
Open a property
Open any property on the frontend.
-
Check the display
Check that all modules are rendered correctly and the property data is displayed.