Skip to content

Dynamic Data (Block Bindings)

With WordPress Block Bindings you connect the editor’s standard blocks directly to a property’s data. A paragraph then shows the purchase price, a button links to the floor plan, an image block shows the cover photo — without you having to use a dedicated WP-ImmoMakler block for it.

This is the counterpart to Elementor’s and Bricks’ Dynamic Tags, and Enfold’s and Divi’s Dynamic Content: the same fields, just in the WordPress editor.

  1. Select the block

    In the editor, select the block you want to connect — Paragraph, Heading, List item, Image, or Button.

  2. Open Attributes

    Open the Attributes panel in the right sidebar.

  3. Choose the attribute

    Select the attribute that should receive the data (for a button, for example, URL or Text).

  4. Choose the field

    Choose one of the WP-ImmoMakler groups from the list, then the field you want within it.

The block shows the value of the property currently being displayed. On a template page, that is the property being viewed, not the template page itself.

Block editor with a button block selected, the open Attributes panel on the right showing the WP-ImmoMakler: Links group and the field for the floor plan PDF attachment
Group Content
WP-ImmoMakler: Property All property data, including areas and prices
WP-ImmoMakler: Energy certificate The energy certificate fields, for all countries
WP-ImmoMakler: Contact person The details of the contact person
WP-ImmoMakler: Texts Heading, subtitle, listing type, status, the main price with its label (such as “Base rent” and “1,510.00 EUR”), for a reference property the brokerage result (“successfully sold” or “successfully let”) and the same notice as a full sentence (“This property has already been successfully sold.”), for reserved, sold or let properties the notice saying so (“This property is reserved.”), the four description texts, the amenities as a list, plus the list view’s heading and search result title
WP-ImmoMakler: Links Property detail view, PDF print view, first PDF attachment, first PDF attachment with “floor plan” in the title or file name, gallery page, property list view, and a “back to the list view” link that returns visitors to the list they came from and scrolls there to the property’s list card. With PLUS, also the list of all similar properties
WP-ImmoMakler: Images Cover photo, contact person’s photo, the first five property photos, and the first three floor plans — each as the image’s URL

WordPress determines which blocks and attributes support Block Bindings:

Block Attributes
Paragraph, Heading, List item Content
Image URL, Alt text, Title, Caption
Button URL, Text, Link target, Rel
Navigation link URL

All WP-ImmoMakler fields provide text, so they are available for every one of these attributes. An image field provides the URL of the image at its original size — use it for an image block’s URL attribute.

  1. Add a button

    Add a Button block and label it, for example “View floor plan”.

  2. Choose the URL attribute

    Open Attributes and select URL.

  3. Choose the floor plan field

    Choose the WP-ImmoMakler: Links group, then First PDF attachment with “floor plan” in the title or file name.

If a property has several PDFs attached — for example an exposé and an energy certificate — this field specifically targets the floor plan. It searches the title and file name of the PDF attachments for “floor plan”; case does not matter, and variants such as “floor plans” or “Grundriss_EG.pdf” are also recognized.

If a property has no matching PDF, the value stays empty.