What is the subtitle?
The subtitle in WP-ImmoMakler is displayed in the real estate listing view as additional location information under the title - e.g. "10117 Berlin, apartment for rent".
You can add further information to this text, e.g. street and house number.
Show street and house number in subtitle
Add the following filter to the functions.php Your WP-ImmoMakler ChildSkins to automatically add the address to the subtitle:
➡️ Result: Instead of just "Berlin-Prenzlauer Berg", for example, "Musterstraße 12, Berlin-Prenzlauer Berg" is displayed.
Important: Make changes in the ChildSkin
Please always place this code in the WP-ImmoMakler ChildSkin, not directly in the main plugin - this way the change remains update-safe.
Find out more:
👉 What is a WordPress child skin?
Note on the field names
The fields strasse and hausnummer must be available in the metadata of the property.
By default, these are transferred from the broker software during a complete OpenImmo import.
