Skip to content

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.

  • 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.

  1. Open the Theme Builder

    Navigate to Divi → Theme Builder in your website’s backend (wp-admin).

    Divi 4 Theme Builder – overview with the existing archive template and the 'Add New Template' button
  2. 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.

    Divi 4 Template Settings – 'Properties' section with the 'All Properties' checkbox enabled

    Click Create Template.

    Divi 4 Theme Builder – new single template 'All Properties' alongside the archive 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.

  3. Create the body layout

    Click Add Custom Body in the new template and select Create Custom Body.

    Divi 4 – dropdown with 'Create Custom Body' and 'Add From Library'
  4. 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.

    Divi 4 – layout selection when inserting a new row Divi 4 module dialog – search result showing the 'WP-ImmoMakler 1-Click: Detail View' module
  5. Save and test

    Save the template and open any property on the frontend.

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.

  1. Open the Theme Builder

    Navigate to Divi → Theme Builder in your website’s backend (wp-admin).

  2. Create a new template

    Click Add New Template and select All Properties as the assignment under Properties.

  3. 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.

  4. 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.

  5. Add property data

    Add the desired data modules:

    ModuleDescription
    WP-ImmoMakler data tableData table as a definition list with configurable fields, column width, row dividers, and alternating background colours
    WP-ImmoMakler area listOnly the property’s areas, with the same settings as the data table
    WP-ImmoMakler price listOnly the property’s prices, with the same settings as the data table
    WP-ImmoMakler Key data text listKey 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/FeaturesThe 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 listKey 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 LocationPostcode 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 boxesKey figures as a responsive CSS grid with configurable box width and spacing
    WP-ImmoMakler Energy Performance CertificateEnergy certificate data with regional support (Germany, Austria, Spain, Italy) and energy diagram
  6. 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
  7. 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.

  8. 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:

    ModuleDescription
    WP-ImmoMakler contact person photoOnly the contact person’s photo, with aspect ratio, spacing, corner radius and border in the Design tab under Photo style
    WP-ImmoMakler contact formThe contact form with spam protection; in the Design tab under Colors you set the button’s background and text colour and the link colour
  9. Videos and virtual tours

    ModuleDescription
    WP-ImmoMakler VideosEmbedded YouTube/Vimeo videos
    WP-ImmoMakler Virtual Tour PLUS360-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
  10. Save and test

    Save the template in the Theme Builder and open a property on the frontend.

ModuleDescription
WP-ImmoMakler 1-Click: Detailed viewComplete detail view with WP-ImmoMakler HTML template
WP-ImmoMakler contact detailsContact person with photo and data
WP-ImmoMakler contact person photoOnly the contact person’s photo
WP-ImmoMakler contact formContact form with spam protection
WP-ImmoMakler description textFree-text description fields with formatting
WP-ImmoMakler data tableData table as a definition list
WP-ImmoMakler area listOnly the areas as a definition list
WP-ImmoMakler price listOnly the prices as a definition list
WP-ImmoMakler Key data text listKey data in one row
WP-ImmoMakler Amenities/FeaturesFeatures with icon
WP-ImmoMakler key detail icon listKey details side by side with icons
WP-ImmoMakler LocationPostcode and city or parts of your own
WP-ImmoMakler data boxesKey figures as a responsive grid
WP-ImmoMakler Energy Performance CertificateEnergy certificate data with diagram
WP-ImmoMakler Image GalleryFull image gallery with slideshow/static mode, all Customizer options per instance
WP-ImmoMakler location mapMap showing the property’s location
WP-ImmoMakler VideosEmbedded videos
WP-ImmoMakler downloads and linksThe property’s documents and links
WP-ImmoMakler Virtual Tour PLUS360-degree tours

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.

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:

FieldDescription
Property titleProperty title from the real estate software
SubtitlePostcode, city, property type
PriceFormatted price
Short descriptionBrief description
Property descriptionDetailed description
Features/descriptionFeatures description
LocationLocation description
Additional informationSupplementary information
Featured image of the propertyFeatured image of the property, for image modules and backgrounds
Link to the PDF print view PLUSURL 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 PLUSFor 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.

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.

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.

  1. Open the conditions

    Open the module’s settings and, in the Advanced tab, the Conditions section.

  2. Add Custom Field

    Add the Custom Field condition.

  3. Choose the field

    Choose the field from the list, for example immomakler_has_floorplans.

  4. 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.

FieldMeaning
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.

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:

  1. Save the template

    Save the template in the Theme Builder.

  2. Open a property

    Open any property on the frontend.

  3. Check the display

    Check that all modules are rendered correctly and the property data is displayed.